aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-10-17 20:45:06 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-10-17 20:45:06 +0200
commit61e85a022c573193afa97d11798ed0553f2364d4 (patch)
tree935d78f226f12d75f1e9834727ed25692566baac
parent4653bdadfcd9a5487e8d1b01c8186a0458578f9f (diff)
add some more symbols, for notifs actions
-rw-r--r--lisp/mastodon-notifications.el2
-rw-r--r--lisp/mastodon-tl.el32
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."