diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-10-18 15:32:53 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-10-18 15:32:53 +0200 |
commit | ce4c59c4328b7050bd9e0844980ce9c8f91a7f82 (patch) | |
tree | 9f2635979a0c309519d9d56e7b3cb31f25ed2c36 | |
parent | 854b7027bc390807876595d2a014e9e61abad591 (diff) |
add boost symbol in boost author byline
-rw-r--r-- | lisp/mastodon-tl.el | 13 |
1 files changed, 9 insertions, 4 deletions
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) |