From 9329ce1674333a8bc67ee5f53178f27bac14991b Mon Sep 17 00:00:00 2001 From: mousebot Date: Fri, 17 Dec 2021 14:36:23 +0100 Subject: 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. --- lisp/mastodon-tl.el | 13 +------------ 1 file changed, 1 insertion(+), 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)))) -- cgit v1.2.3