From a448d11e19659aca14a6d98274b58683248a7a6b Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 25 Oct 2024 19:48:55 +0200 Subject: with-toot-item: exclude folls/foll reqs --- lisp/mastodon-toot.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 7440fe5..df1a773 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -290,7 +290,9 @@ data about the item boosted or favourited." Includes boosts, and notifications that display toots. This macro makes the local variable ID available." (declare (debug t)) - `(if (not (eq 'toot (mastodon-tl--property 'item-type :no-move))) + `(if (or (not (eq 'toot (mastodon-tl--property 'item-type :no-move))) + (member (mastodon-tl--property 'notification-type) + '("follow" "follow_request"))) (user-error "Looks like there's no toot at point?") (mastodon-tl--with-toot-helper (lambda (id) -- cgit v1.2.3