Fix remote notice grabber

Fixed bugs and simplified logic
This commit is contained in:
Diogo Cordeiro
2018-08-02 01:42:15 +01:00
parent 9f61de3c87
commit 51ebdcae30
14 changed files with 261 additions and 131 deletions

View File

@@ -52,7 +52,7 @@ class Activitypub_create extends Managed_DataObject
{
$res = [
'@context' => 'https://www.w3.org/ns/activitystreams',
'id' => $id,
'id' => $id.'/create',
'type' => 'Create',
'to' => $object['to'],
'cc' => $object['cc'],