Skip to content
Snippets Groups Projects
Commit 8ae4d64d authored by lain's avatar lain
Browse files

Apply suggestion to lib/pleroma/notification.ex

parent f57fa2a0
No related branches found
No related tags found
No related merge requests found
......@@ -357,7 +357,7 @@ def get_notified_from_activity(%Activity{data: %{"type" => type}} = activity, lo
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}})
when type in ~w{Like Announce EmojiReact} do
case Object.get_cached_by_ap_id(object_id) do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment