Stream out edits
This commit is contained in:
parent
fa31ae50e6
commit
8bac8147d4
5 changed files with 95 additions and 2 deletions
|
|
@ -472,6 +472,12 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
|
|||
|> Repo.preload(:hashtags)
|
||||
|> Object.change(%{data: updated_object_data})
|
||||
|> Object.update_and_set_cache()
|
||||
|
||||
if updated do
|
||||
object
|
||||
|> Activity.normalize()
|
||||
|> ActivityPub.notify_and_stream()
|
||||
end
|
||||
end
|
||||
|
||||
{:ok, object, meta}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue