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

@@ -96,10 +96,7 @@ class Activitypub_profile extends Managed_DataObject
$public_key = $rsa->ensure_public_key($profile);
unset($rsa);
$res = [
'@context' => [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1"
],
'@context' => 'https://www.w3.org/ns/activitystreams',
'id' => $uri,
'type' => 'Person',
'following' => common_local_url('apActorFollowing', ['id' => $id]),