mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 10:09:02 +00:00
Add announce federation.
This commit is contained in:
parent
138641589d
commit
861a294cda
|
@ -199,6 +199,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
|
||||
update_object_in_activities(object)
|
||||
|
||||
if user.local do
|
||||
Pleroma.Web.Federator.enqueue(:publish, activity)
|
||||
end
|
||||
|
||||
{:ok, activity, object}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue