diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-10-17 20:45:06 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-10-17 20:45:06 +0200 |
commit | 61e85a022c573193afa97d11798ed0553f2364d4 (patch) | |
tree | 935d78f226f12d75f1e9834727ed25692566baac | |
parent | 4653bdadfcd9a5487e8d1b01c8186a0458578f9f (diff) |
add some more symbols, for notifs actions
-rw-r--r-- | lisp/mastodon-notifications.el | 2 | ||||
-rw-r--r-- | lisp/mastodon-tl.el | 32 |
2 files changed, 19 insertions, 15 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el index 9ec3252..339857c 100644 --- a/lisp/mastodon-notifications.el +++ b/lisp/mastodon-notifications.el @@ -292,7 +292,7 @@ ACCOUNTS is data of the accounts that have reacted to the notification." (t (mastodon-notifications--byline-accounts accounts status group))) ;; action symbol: - (when (member type-sym '(favourite reblog update)) + (unless (eq type-sym 'mention) (mastodon-tl--symbol type-sym)) .status_id ;; base toot (no need for update/poll/?) diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 28fbb64..f4051a3 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -153,20 +153,24 @@ nil." :type 'boolean) (defcustom mastodon-tl--symbols - '((reply . ("💬" . "R")) - (boost . ("🔁" . "B")) - (reblog . ("🔁" . "B")) ;; server compat - (favourite . ("⭐" . "F")) - (bookmark . ("🔖" . "K")) - (media . ("📹" . "[media]")) - (verified . ("" . "V")) - (locked . ("🔒" . "[locked]")) - (private . ("🔒" . "[followers]")) - (direct . ("✉" . "[direct]")) - (edited . ("✍" . "[edited]")) - (update . ("✍" . "[edited]")) ;; server compat - (replied . ("⬇" . "↓")) - (reply-bar . ("┃" . "|"))) + '((reply . ("💬" . "R")) + (boost . ("🔁" . "B")) + (reblog . ("🔁" . "B")) ;; server compat + (favourite . ("⭐" . "F")) + (bookmark . ("🔖" . "K")) + (media . ("📹" . "[media]")) + (verified . ("" . "V")) + (locked . ("🔒" . "[locked]")) + (private . ("🔒" . "[followers]")) + (direct . ("✉" . "[direct]")) + (edited . ("✍" . "[edited]")) + (update . ("✍" . "[edited]")) ;; server compat + (status . ("✍" . "[posted]")) + (replied . ("⬇" . "↓")) + (reply-bar . ("┃" . "|")) + (poll . ("📊" . "")) + (follow . ("👤" . "+")) + (follow_request . ("👤" . "+"))) "A set of symbols (and fallback strings) to be used in timeline. If a symbol does not look right (tofu), it means your font settings do not support it." |