From fce69f724310896f7bbb071e74c7a9c1663153de Mon Sep 17 00:00:00 2001 From: mousebot Date: Wed, 16 Feb 2022 20:30:13 +0100 Subject: no faves counts for following/followers in profile view --- lisp/mastodon-tl.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index c4b683d..272ca15 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -357,7 +357,12 @@ Used on initializing a timeline or thread." ;; echo faves count when point on post author name: ;; which is where --goto-next-toot puts point. 'help-echo - (mastodon-tl--format-faves-count toot)) + ;; but don't add it to "following"/"follows" on profile views: + ;; we don't have a tl--buffer-spec yet: + (unless (or (string-suffix-p "-followers*" (buffer-name)) + (string-suffix-p "-following*" (buffer-name))) + ;; (mastodon-tl--get-endpoint))) + (mastodon-tl--format-faves-count toot))) " (" (propertize (concat "@" handle) 'face 'mastodon-handle-face -- cgit v1.2.3