X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fnotification.ex;h=32bcfcaba34d9c830211c3f8180481feff193b5d;hb=4d809144d84c743efbabeb2ca85f34f360a61b1e;hp=fcb2144ae24ac5e922556086c21de79ef2c6fc5d;hpb=8939ff39e4b7fba1bc0af0e235979a7a789fa262;p=akkoma diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index fcb2144ae..32bcfcaba 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -497,6 +497,10 @@ defmodule Pleroma.Notification do end end + def get_potential_receiver_ap_ids(%{data: %{"type" => "Follow", "object" => object_id}}) do + [object_id] + end + def get_potential_receiver_ap_ids(activity) do [] |> Utils.maybe_notify_to_recipients(activity)