aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
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:54:29 +0200
commite08863e6fbd07c53937ec4106ddb4d4716ca7976 (patch)
tree8dff00019fda5a647bfa41fba13025bc2fbe3af8 /lisp/mastodon.el
parent7c1adc4c515dddce4fa6e39f5a6ab559033c31d8 (diff)
url-lookup: fix loading profile fun: just use the search JSON
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 13a410b..2dc075a 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -295,9 +295,8 @@ not, just browse the URL in the normal fashion."
((not (seq-empty-p
(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)))
+ (account (seq-first (cdr accounts))))
+ (mastodon-profile--make-author-buffer account)))
(t
(browse-url query))))))))