diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-10-16 13:53:26 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-10-16 13:53:26 +0200 |
commit | f53d252a27fc451bd41c8fb6fe2049695b9bedc0 (patch) | |
tree | 27476b4943a0a1ba24723ed33cfe856b909baa72 /lisp | |
parent | d573d80f023813ce4c429dc73da6714b0a29af8c (diff) |
notifs: revert add fave/boost to foll_req condition
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-notifications.el | 10 |
1 files 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))) |