Query parameters implemented as per the doc

Kept Attachment entity compatible with GS Master
Fixed conversation id data type on Notice entity
This commit is contained in:
Diogo Cordeiro
2018-05-05 15:09:28 +01:00
parent 3161b62b5d
commit 81b9f17cb1
3 changed files with 35 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ class Activitypub_attachment extends Managed_DataObject
'id' => $attachment->getID (),
'mimetype' => $attachment->mimetype,
'url' => $attachment->getUrl (),
'size' => $attachment->getSize (),
'size' => intval($attachment->size),
'title' => $attachment->getTitle (),
'meta' => null
];