diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-03 14:51:22 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-03 14:54:29 +0200 |
commit | e08863e6fbd07c53937ec4106ddb4d4716ca7976 (patch) | |
tree | 8dff00019fda5a647bfa41fba13025bc2fbe3af8 /lisp | |
parent | 7c1adc4c515dddce4fa6e39f5a6ab559033c31d8 (diff) |
url-lookup: fix loading profile fun: just use the search JSON
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon.el | 5 |
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)))))))) |