Add announce federation.

This commit is contained in:
Roger Braun 2017-05-03 17:41:55 +02:00
parent 138641589d
commit 861a294cda

View File

@ -199,6 +199,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
update_object_in_activities(object) update_object_in_activities(object)
if user.local do
Pleroma.Web.Federator.enqueue(:publish, activity)
end
{:ok, activity, object} {:ok, activity, object}
end end