forked from GNUsocial/gnu-social
Add generator to JSON output
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user