Use the statusnet namespace for notice_id

This commit is contained in:
Thomas Karpiniec 2017-02-04 21:59:30 +11:00
parent 8b8e2825e3
commit 47cd054976
2 changed files with 2 additions and 2 deletions

View File

@ -2171,7 +2171,7 @@ class Notice extends Managed_DataObject
$object->content = $this->getRendered();
$object->link = $this->getUrl();
$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;
}