From d05c8caa0f543858d97d1e2a0a130bf280e67606 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Thu, 16 Mar 2023 14:11:15 +0100 Subject: another --profile-buffer-p call --- lisp/mastodon-tl.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp/mastodon-tl.el') 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)) -- cgit v1.2.3