aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-12-17 14:36:23 +0100
committermousebot <mousebot@riseup.net>2021-12-17 14:36:23 +0100
commit9329ce1674333a8bc67ee5f53178f27bac14991b (patch)
tree7e9811179a0c7080d222c0a8b99d20df2bc66f2b /lisp/mastodon-tl.el
parentbb9e8ab828cf249ce8fd23a47fe4e75ee9ab61c7 (diff)
revert echo faves on toot text in thread view
because it breaks propertizing of links/handles. so echo faves is now only on byline author name.
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el13
1 files changed, 1 insertions, 12 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 67ce4eb..9355480 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -710,18 +710,7 @@ faves/boosts/replies counts."
(alist-get 'poll reblog)
(alist-get 'poll toot))))
(concat
- (propertize
- (mastodon-tl--render-text content toot)
- 'help-echo (when (and mastodon-tl--buffer-spec
- (string-match-p
- "context" ; only when thread view
- (plist-get mastodon-tl--buffer-spec 'endpoint)))
- ;; prefer the reblog toot if present:
- (let ((toot-to-use (or (alist-get 'reblog toot) toot)))
- (format "%s faves | %s boosts | %s replies"
- (alist-get 'favourites_count toot-to-use)
- (alist-get 'reblogs_count toot-to-use)
- (alist-get 'replies_count toot-to-use)))))
+ (mastodon-tl--render-text content toot)
(when poll-p
(mastodon-tl--get-poll toot))
(mastodon-tl--media toot))))