Apply suggestion to lib/pleroma/notification.ex

This commit is contained in:
lain 2020-05-07 11:01:52 +00:00
parent f57fa2a00d
commit 8ae4d64d47
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ defmodule Pleroma.Notification 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}})
when type in ~w{Like Announce EmojiReact} do
case Object.get_cached_by_ap_id(object_id) do