Add PoCo to Activity Streams JSON

This commit is contained in:
Zach Copley
2011-02-17 22:36:14 -08:00
parent 97af5e1954
commit 11f77b2fca
5 changed files with 75 additions and 1 deletions

View File

@@ -726,6 +726,10 @@ class ActivityObject
);
}
if (!empty($this->poco)) {
$object['contact'] = $this->poco->asArray();
}
return array_filter($object);
}
}