Use meta[:object_data] in SideEffects for Update
This commit is contained in:
parent
01321c88b5
commit
ee07383191
2 changed files with 39 additions and 12 deletions
|
|
@ -459,6 +459,8 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
|
|||
orig_object = Object.get_by_ap_id(orig_object_ap_id)
|
||||
orig_object_data = orig_object.data
|
||||
|
||||
updated_object = meta[:object_data]
|
||||
|
||||
if orig_object_data["type"] in @updatable_object_types do
|
||||
%{data: updated_object_data, updated: updated} =
|
||||
orig_object_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue