forked from GNUsocial/gnu-social
Add PoCo to Activity Streams JSON
This commit is contained in:
@@ -726,6 +726,10 @@ class ActivityObject
|
||||
);
|
||||
}
|
||||
|
||||
if (!empty($this->poco)) {
|
||||
$object['contact'] = $this->poco->asArray();
|
||||
}
|
||||
|
||||
return array_filter($object);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user