]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Use the statusnet namespace for notice_id
authorThomas Karpiniec <tk@1.21jiggawatts.net>
Sat, 4 Feb 2017 10:59:30 +0000 (21:59 +1100)
committerThomas Karpiniec <tk@1.21jiggawatts.net>
Sat, 4 Feb 2017 10:59:30 +0000 (21:59 +1100)
classes/Notice.php
plugins/ActivityVerbPost/ActivityVerbPostPlugin.php

index d5a0e5f6d2588448dc5c775048300e23a9096b41..a4584cfd51a1ce185b588112c8c23091ffd2b563 100644 (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));
         }
index a28009e2fcc1b977403bbfbd216a2643d6a6b73f..64ffe57cd44bb72558e3cf788016bae73c58899f 100644 (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;
     }