forked from GNUsocial/gnu-social
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:
commit
924bcd93e5
@ -2220,7 +2220,7 @@ class Notice extends Managed_DataObject
|
|||||||
$object->selfLink = null;
|
$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));
|
Event::handle('EndActivityObjectFromNotice', array($this, &$object));
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ class ActivityVerbPostPlugin extends ActivityVerbHandlerPlugin
|
|||||||
$object->content = $notice->getRendered();
|
$object->content = $notice->getRendered();
|
||||||
$object->link = $notice->getUrl();
|
$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;
|
return $object;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user