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