From f3af53067b7cd7827ccf133e5e729aeed72ce807 Mon Sep 17 00:00:00 2001
From: marty hiatt <martianhiatus@riseup.net>
Date: Fri, 11 Oct 2024 09:21:08 +0200
Subject: update notifs action alist: match server types

---
 lisp/mastodon-notifications.el | 6 ++++--
 1 file 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.
-- 
cgit v1.2.3