Use the statusnet namespace for notice_id
This commit is contained in:
parent
8b8e2825e3
commit
47cd054976
@ -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));
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user