diff options
-rw-r--r-- | lisp/mastodon-tl.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index fef8a98..c4b683d 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1319,8 +1319,10 @@ Can be called to toggle NOTIFY on users already being followed." (string-prefix-p "*mastodon-search" (buffer-name))) (list (alist-get 'acct (mastodon-tl--property 'user-json)))) ;; profile view follows/followers compat: - ((string-prefix-p "accounts" (mastodon-tl--get-endpoint)) - (list (alist-get 'acct (mastodon-tl--property 'toot-json)))) + ;; but not for profile statuses: + ((when (and (string-prefix-p "accounts" (mastodon-tl--get-endpoint)) + (not (string-suffix-p "statuses" (mastodon-tl--get-endpoint)))) + (list (alist-get 'acct (mastodon-tl--property 'toot-json))))) (t (mastodon-profile--extract-users-handles (mastodon-profile--toot-json)))))) |