[PLUGIN][ActivityPub][Model][Activity] If the object is wrapped in an activity, exclude the @context

这个提交包含在:
Diogo Peralta Cordeiro 2022-02-23 22:39:18 +00:00
父节点 d12038a9f8
当前提交 4754593cde
签署人:: diogo
GPG 密钥 ID: 18D2D35001FBFAB0

查看文件

@ -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);