Commit a2b79ce7 authored by lain's avatar lain
Browse files

Add outgoin federation to twitter api.

Doesn't really belong there, find a different place for it. Should
federate on every activity insertion.
parent 77cb2606
......@@ -66,7 +66,9 @@ def create_status(user = %User{}, data = %{}) do
end
with {:ok, activity} <- ActivityPub.insert(activity) do
add_conversation_id(activity)
{:ok, activity} = add_conversation_id(activity)
Pleroma.Web.Websub.publish(Pleroma.Web.OStatus.feed_path(user), user, activity)
{:ok, activity}
end
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment