aboutsummaryrefslogtreecommitdiff
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:53:17 +0200
commit113e33bf8effec6d5568104474b25ef67635334b (patch)
tree65ecee00bd51df8e4e0d445f5783f1353f13c431
parent7c1adc4c515dddce4fa6e39f5a6ab559033c31d8 (diff)
url-lookup: fix loading profile fun: just use the search JSON
-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..9ff7106 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))))))))