[#1364] Improved notification-related tests.
This commit is contained in:
parent
0e07c5ef57
commit
7438833685
2 changed files with 79 additions and 43 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue