aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@disroot.org>2024-10-25 19:48:55 +0200
committermarty hiatt <martianhiatus@disroot.org>2024-10-25 19:49:16 +0200
commita448d11e19659aca14a6d98274b58683248a7a6b (patch)
treed242ab55065fb0dbd37d7398f5ee18e0c3f86745 /lisp/mastodon-toot.el
parente9d9bc3a6bbe6b54772298e9fc20c2daff963916 (diff)
with-toot-item: exclude folls/foll reqs
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el4
1 files changed, 3 insertions, 1 deletions
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)