Apply suggestion to lib/pleroma/notification.ex
This commit is contained in:
parent
bb5d0eafa4
commit
b03aeae8b9
@ -362,7 +362,7 @@ defmodule Pleroma.Notification do
|
|||||||
|
|
||||||
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 New Issue
Block a user