From ce4c59c4328b7050bd9e0844980ce9c8f91a7f82 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 18 Oct 2024 15:32:53 +0200 Subject: add boost symbol in boost author byline --- lisp/mastodon-tl.el | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index b0f5981..50d623a 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -687,10 +687,15 @@ ACCOUNT is optionally acccount data to use." (alist-get 'avatar (alist-get 'account data)))) (if (not base) - (mastodon-tl--byline-handle - data domain account - ;; display uname not handle (for boosts): - uname 'mastodon-display-name-face) + ;; boost symbol: + (concat (mastodon-tl--symbol 'boost) + " " + ;; username as button: + (mastodon-tl--byline-handle + data domain account + ;; display uname not handle (for boosts): + uname 'mastodon-display-name-face)) + ;; normal combo author byline: (mastodon-tl--byline-uname-+-handle data domain account))))) (defun mastodon-tl--format-byline-help-echo (toot) -- cgit v1.2.3