From deaedf0d8d8f516909afa1d2bafda654896f958e Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 19 Oct 2024 12:23:39 +0200 Subject: notifs: remove stray space at beginning of mentions --- lisp/mastodon-notifications.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lisp') 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 -- cgit v1.2.3