aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-notifications.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-10-11 09:21:08 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-10-11 09:21:08 +0200
commitf3af53067b7cd7827ccf133e5e729aeed72ce807 (patch)
tree74df5df883399a38b1e8f9810b18c735009d860f /lisp/mastodon-notifications.el
parent7edfe0c4828145c75e5cb2e260c60463f8b24a4d (diff)
update notifs action alist: match server types
Diffstat (limited to 'lisp/mastodon-notifications.el')
-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 6e21744..46f2423 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -181,12 +181,14 @@ Can be called in notifications view or in follow-requests view."
(defvar mastodon-notifications--action-alist
'((reblog . "Boosted")
(favourite . "Favourited")
- (follow-request . "Requested to follow")
+ (follow_request . "Requested to follow")
(follow . "Followed")
(mention . "Mentioned")
(status . "Posted")
(poll . "Posted a poll")
- (edit . "Edited")))
+ (update . "Edited"))
+ "Action strings keyed by notification type.
+Types are those of the Mastodon API.")
(defun mastodon-notifications--alist-by-value (str field json)
"From JSON, return the alist whose FIELD value matches STR.