From 47cd054976691d2efc32f065152cb1843b7c4f7f Mon Sep 17 00:00:00 2001 From: Thomas Karpiniec Date: Sat, 4 Feb 2017 21:59:30 +1100 Subject: [PATCH] Use the statusnet namespace for notice_id --- classes/Notice.php | 2 +- plugins/ActivityVerbPost/ActivityVerbPostPlugin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5