diff options
author | marty hiatt <martianhiatus@disroot.org> | 2024-10-25 19:48:55 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@disroot.org> | 2024-10-25 19:49:16 +0200 |
commit | a448d11e19659aca14a6d98274b58683248a7a6b (patch) | |
tree | d242ab55065fb0dbd37d7398f5ee18e0c3f86745 /lisp | |
parent | e9d9bc3a6bbe6b54772298e9fc20c2daff963916 (diff) |
with-toot-item: exclude folls/foll reqs
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-toot.el | 4 |
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) |