forked from AkkomaGang/akkoma
Apply suggestion to lib/pleroma/notification.ex
This commit is contained in:
parent
f57fa2a00d
commit
8ae4d64d47
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,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: {[], []}
|
||||||
|
|
||||||
# For some actitivies, only notifity the author of the object
|
# For some activities, only notify the author of the object
|
||||||
def get_potential_receiver_ap_ids(%{data: %{"type" => type, "object" => object_id}})
|
def get_potential_receiver_ap_ids(%{data: %{"type" => type, "object" => object_id}})
|
||||||
when type in ~w{Like Announce EmojiReact} do
|
when type in ~w{Like Announce EmojiReact} do
|
||||||
case Object.get_cached_by_ap_id(object_id) do
|
case Object.get_cached_by_ap_id(object_id) do
|
||||||
|
|
Loading…
Reference in a new issue