aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-16 14:11:15 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-16 14:11:15 +0100
commitd05c8caa0f543858d97d1e2a0a130bf280e67606 (patch)
tree36c17e6b62b48900ddfdab088311179210950749 /lisp
parenta17f64af36f267421ae453da1f539f9e55fa0ba8 (diff)
another --profile-buffer-p call
Diffstat (limited to 'lisp')
-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))