From f53d252a27fc451bd41c8fb6fe2049695b9bedc0 Mon Sep 17 00:00:00 2001
From: marty hiatt <martianhiatus@riseup.net>
Date: Wed, 16 Oct 2024 13:53:26 +0200
Subject: notifs: revert add fave/boost to foll_req condition

---
 lisp/mastodon-notifications.el | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index fc82edd..bbc77a8 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -240,7 +240,7 @@ ACCOUNTS is data of the accounts that have reacted to the notification."
                       (string-limit str mastodon-notifications--profile-note-in-foll-reqs-max-length)
                     str))))
              (follower (when (member type-sym
-                                     '(reblog favourite follow follow_request))
+                                     '(follow follow_request))
                          (car accounts)))
              (follower-name (mastodon-tl--field 'username follower))
              (filtered (mastodon-tl--field 'filtered status))
@@ -249,18 +249,14 @@ ACCOUNTS is data of the accounts that have reacted to the notification."
         (unless (and filtered (assoc "hide" filters))
           (mastodon-notifications--insert-note
            ;; toot
-           ;; FIXME: fix following on grouped notifs
+           ;; FIXME: fix following etc. on action authors
            ;; FIXME: block boost/fave on boost/fave notifs?
            (if (member type-sym
                        ;; reblogs/faves use 'note' to process their own
                        ;; json not the toot's. this ensures following etc.
                        ;; work on such notifs
-                       '(reblog favourite follow follow_request))
-               ;; FIXME: breaks item stats!
+                       '(follow follow_request))
                follower
-             ;; Using reblog with an empty id will mark this as something
-             ;; non-boostable/non-favable.
-             ;; (cons '(reblog (id . nil)) status) ;;note))
              status)
            ;; body
            (let ((body (if-let ((match (assoc "warn" filters)))
-- 
cgit v1.2.3