From: Thomas Karpiniec Date: Sat, 4 Feb 2017 10:59:30 +0000 (+1100) Subject: Use the statusnet namespace for notice_id X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=47cd054976691d2efc32f065152cb1843b7c4f7f;p=quix0rs-gnu-social.git Use the statusnet namespace for notice_id --- diff --git a/classes/Notice.php b/classes/Notice.php index d5a0e5f6d2..a4584cfd51 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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)); } diff --git a/plugins/ActivityVerbPost/ActivityVerbPostPlugin.php b/plugins/ActivityVerbPost/ActivityVerbPostPlugin.php index a28009e2fc..64ffe57cd4 100644 --- a/plugins/ActivityVerbPost/ActivityVerbPostPlugin.php +++ b/plugins/ActivityVerbPost/ActivityVerbPostPlugin.php @@ -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; }