aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-02-16 20:30:13 +0100
committermousebot <mousebot@riseup.net>2022-02-17 09:58:02 +0100
commitfce69f724310896f7bbb071e74c7a9c1663153de (patch)
treee8b2de7b1a98d1c542feefb1929dd3398c5df579
parentd900cb6e73694be093f937e00f2c31486a130d16 (diff)
no faves counts for following/followers in profile view
-rw-r--r--lisp/mastodon-tl.el7
1 files changed, 6 insertions, 1 deletions
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