aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-10-19 12:23:39 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-10-19 12:40:11 +0200
commitdeaedf0d8d8f516909afa1d2bafda654896f958e (patch)
tree396b7bcc2fdc460289b129f0254e117510cca43d /lisp
parent6975a22a1c3b403b5aa86bb7a375220b6b0f9fea (diff)
notifs: remove stray space at beginning of mentions
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-notifications.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index c2257b2..f163863 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -314,8 +314,10 @@ ACCOUNTS is the notification accounts data."
(propertize ;; top byline, body + byline:
(concat
(propertize ;; top byline
- (concat action-symbol " " action-authors
- action-byline)
+ (if (equal type "mention")
+ ""
+ (concat action-symbol " " action-authors
+ action-byline))
'byline-top t)
(propertize ;; body only
body