diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-16 21:58:10 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-03-16 21:58:10 +0300 |
commit | 74388336852b18d5d5f108a8305f1a038301f7a1 (patch) | |
tree | 2803c3c6627f769038180e766391281bf18c97c0 /lib | |
parent | 0e07c5ef5717460d37336129cb657ba11091f09d (diff) | |
download | pleroma-74388336852b18d5d5f108a8305f1a038301f7a1.tar.gz pleroma-74388336852b18d5d5f108a8305f1a038301f7a1.zip |
[#1364] Improved notification-related tests.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/notification.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index 0d7a6610a..104368fd1 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -344,6 +344,7 @@ defmodule Pleroma.Notification do |> Utils.maybe_notify_followers(activity) |> Enum.uniq() + # Since even subscribers and followers can mute / thread-mute, filtering all above AP IDs notification_enabled_ap_ids = potential_receiver_ap_ids |> exclude_relation_restricting_ap_ids(activity) |