aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 0309634..13f3501 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2309,8 +2309,7 @@ INSTANCE is an instance domain name."
:vector)))
(mastodon-tl--instance-response-fun response brief))
(mastodon-tl--do-if-toot
- (let* ((profile-p (get-text-property (point) 'profile-json))
- (toot (if profile-p
+ (let* ((toot (if (mastodon-tl--profile-buffer-p)
(mastodon-tl--property 'profile-json) ; profile may have 0 toots
(mastodon-tl--property 'toot-json)))
(reblog (alist-get 'reblog toot))