summaryrefslogtreecommitdiffstats
path: root/lib/Model/ActivityPub/Stream.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Model/ActivityPub/Stream.php')
-rw-r--r--lib/Model/ActivityPub/Stream.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Model/ActivityPub/Stream.php b/lib/Model/ActivityPub/Stream.php
index 274ae0b9..92e4e08b 100644
--- a/lib/Model/ActivityPub/Stream.php
+++ b/lib/Model/ActivityPub/Stream.php
@@ -702,11 +702,8 @@ class Stream extends ACore implements IQueryRow, JsonSerializable {
public function jsonSerialize(): array {
$result = parent::jsonSerialize();
- $result['media_attachments'] = $this->getAttachments();
-
-// if ($this->isCompleteDetails()) {
-// $result['attachments'] = $this->getAttachments();
-// }
+// $result['media_attachments'] = $this->getAttachments();
+ $result['attachment'] = $this->getAttachments();
return $result;
}