aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-03 14:51:22 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-03 14:51:22 +0200
commitd7c388eb997056fe954faa6ff85a1fd95ef7f691 (patch)
treeecc7b2cc36b35772272db3fff1e3cab504d26932 /lisp
parent7c1adc4c515dddce4fa6e39f5a6ab559033c31d8 (diff)
url-lookkup: fix loading profile fun: just use the search JSON
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 13a410b..aca2230 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -296,8 +296,7 @@ not, just browse the URL in the normal fashion."
(alist-get 'accounts response)))
(let* ((accounts (assoc 'accounts response))
(account (seq-first (cdr accounts)))
- (account-acct (alist-get 'acct account)))
- (mastodon-profile--show-user account-acct)))
+ (mastodon-profile--make-author-buffer account)))
(t
(browse-url query))))))))