From f9e8522ae3ef3bd022ae81893acb414e9741b905 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Mon, 19 Aug 2024 15:34:22 +0200 Subject: remove old call to http--api-search --- lisp/mastodon-profile.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-profile.el') diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index 093e0a8..5f33ce2 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -837,7 +837,8 @@ If the handle does not match a search return then retun NIL." handle)) (args `(("q" . ,handle) ("type" . "accounts"))) - (result (mastodon-http--get-json (mastodon-http--api-search) args)) + (result (mastodon-http--get-json + (mastodon-http--api-v2 "search") args)) (matching-account (seq-remove (lambda (x) (not (string= handle (alist-get 'acct x)))) -- cgit v1.2.3