Merge branch 'notice_id-xml' into 'nightly'

Use the statusnet namespace for notice_id in atom feed

See merge request !136
This commit is contained in:
mmn 2017-07-11 20:01:01 +00:00
commit 924bcd93e5
2 changed files with 2 additions and 2 deletions

View File

@ -2220,7 +2220,7 @@ class Notice extends Managed_DataObject
$object->selfLink = null;
}
$object->extra[] = array('status_net', array('notice_id' => $this->id));
$object->extra[] = array('statusnet:notice_id', null, $this->id);
Event::handle('EndActivityObjectFromNotice', array($this, &$object));
}

View File

@ -77,7 +77,7 @@ class ActivityVerbPostPlugin extends ActivityVerbHandlerPlugin
$object->content = $notice->getRendered();
$object->link = $notice->getUrl();
$object->extra[] = array('status_net', array('notice_id' => $notice->getID()));
$object->extra[] = array('statusnet:notice_id', null, $notice->getID());
return $object;
}