aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-20 16:27:18 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-20 16:27:18 +0200
commit448b9e5a757b4ebf617a8ff1f04b9643f086672e (patch)
tree3bb5587c33223a1175d9d5c605186d11c03872a7 /lisp/mastodon-profile.el
parent43baced1733b318a4fbe0a2ddba02c252f109c41 (diff)
parent705adb3ae86ee2c09074e9938673fc9083b9ab9d (diff)
Merge branch 'develop'
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index b8a6114..f7a46d5 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -416,7 +416,10 @@ If toot is a boost, opens the profile of the booster."
user-handles
nil ; predicate
'confirm)))))
- (if (not (get-text-property (point) 'toot-json))
+ (if (not (or
+ ;; own profile has no need for toot-json test:
+ (equal user-handle (mastodon-auth--get-account-name))
+ (get-text-property (point) 'toot-json)))
(message "Looks like there's no toot or user at point?")
(let ((account (mastodon-profile--lookup-account-in-status
user-handle (mastodon-profile--toot-json))))