aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-10-17 14:09:04 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-10-17 14:09:43 +0200
commit5c1a8d5a3b0a6a772f712e6ad21f0889a4081325 (patch)
tree2330a7b8d1cfa72fb4164bced2399c4461605eee /lisp
parent8eab2d38ebcde6946b16aeba7c6c0c480141ecdf (diff)
grouped notifs: fix foll req process: use notif-type prop not item-json
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-notifications.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index a61492a..262ed57 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -139,7 +139,9 @@ follow-requests view."
(let* ((item-json (mastodon-tl--property 'item-json))
(f-reqs-view-p (string= "follow_requests"
(plist-get mastodon-tl--buffer-spec 'endpoint)))
- (f-req-p (or (string= "follow_request" (alist-get 'type item-json)) ;notifs
+ (f-req-p (or (string= "follow_request"
+ (mastodon-tl--property 'notification-type
+ :no-move))
f-reqs-view-p)))
(if (not f-req-p)
(user-error "No follow request at point?")