1
0
Fork 0
forked from mirrors/akkoma

Notification: For follows, notify the followed.

This commit is contained in:
lain 2020-07-08 14:29:29 +02:00
parent 7d0e2b3fdd
commit 29fa75d00d

View file

@ -497,6 +497,10 @@ def get_potential_receiver_ap_ids(%{data: %{"type" => type, "object" => object_i
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)