Add generator to JSON output

This commit is contained in:
Evan Prodromou
2013-06-07 11:34:54 -04:00
parent 6164940e8c
commit 08eca420ca
3 changed files with 54 additions and 4 deletions

View File

@@ -1614,6 +1614,12 @@ class Notice extends Managed_DataObject
$act->context = $ctx;
$source = $this->getSource();
if ($source) {
$act->generator = ActivityObject::fromNoticeSource($source);
}
// Source
$atom_feed = $profile->getAtomFeed();