aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-04-26 21:14:51 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-05-08 08:11:00 +0200
commit5d365fd5af58f715cf0e95a407cc6d840054a29b (patch)
tree9215c22e7f20a8f3560d678541619c478f88e0b9
parentdd205f425e03ee2c02e44ea9f780d7a237af5c45 (diff)
profile-show-user: allow calling when point on profile header.
-rw-r--r--lisp/mastodon-profile.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 241fbbe..296616d 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -724,6 +724,7 @@ IMG-TYPE is the JSON key from the account data."
(if (not (or
;; own profile has no need for toot-json test:
(equal user-handle (mastodon-auth--get-account-name))
+ (mastodon-tl--profile-buffer-p)
(mastodon-tl--property 'toot-json :no-move)))
(message "Looks like there's no toot or user at point?")
(let ((account (mastodon-profile--lookup-account-in-status