forked from AkkomaGang/akkoma
Apply suggestion to lib/pleroma/notification.ex
This commit is contained in:
parent
bb5d0eafa4
commit
b03aeae8b9
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ def get_notified_from_activity(%Activity{data: %{"type" => type}} = activity, lo
|
||||||
|
|
||||||
def get_notified_from_activity(_, _local_only), do: {[], []}
|
def get_notified_from_activity(_, _local_only), do: {[], []}
|
||||||
|
|
||||||
@doc "Filters out AP IDs of users who domain-block and not follow activity actor"
|
@doc "Filters out AP IDs domain-blocking and not following the activity's actor"
|
||||||
def exclude_domain_blocker_ap_ids(ap_ids, activity, preloaded_users \\ [])
|
def exclude_domain_blocker_ap_ids(ap_ids, activity, preloaded_users \\ [])
|
||||||
|
|
||||||
def exclude_domain_blocker_ap_ids([], _activity, _preloaded_users), do: []
|
def exclude_domain_blocker_ap_ids([], _activity, _preloaded_users), do: []
|
||||||
|
|
Loading…
Reference in a new issue