From 5c1a8d5a3b0a6a772f712e6ad21f0889a4081325 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Thu, 17 Oct 2024 14:09:04 +0200 Subject: grouped notifs: fix foll req process: use notif-type prop not item-json --- lisp/mastodon-notifications.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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?") -- cgit v1.2.3