[PLUGIN][ActivityPub][Model][Activity] If the object is wrapped in an activity, exclude the @context
这个提交包含在:
父节点
d12038a9f8
当前提交
4754593cde
@ -193,6 +193,7 @@ class Activity extends Model
|
||||
}
|
||||
}
|
||||
|
||||
$attr['object']->set('@context', null);
|
||||
$type = self::jsonToType($attr);
|
||||
Event::handle('ActivityPubAddActivityStreamsTwoData', [$type->get('type'), &$type]);
|
||||
return $type->toJson($options);
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户