Go away LDS

This commit is contained in:
Diogo Cordeiro
2018-08-06 02:08:30 +01:00
parent b9c76c2901
commit edc62d4cb0
13 changed files with 13 additions and 52 deletions

View File

@@ -50,10 +50,7 @@ class Activitypub_undo extends Managed_DataObject
public static function undo_to_array($object)
{
$res = [
'@context' => [
'https://www.w3.org/ns/activitystreams',
'https://w3id.org/security/v1'
],
'@context' => 'https://www.w3.org/ns/activitystreams',
'id' => $object['id'].'/undo',
'type' => 'Undo',
'actor' => $object['actor'],