]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Better ID for notice activity
authorEvan Prodromou <evan@e14n.com>
Sat, 15 Jun 2013 16:07:34 +0000 (12:07 -0400)
committerEvan Prodromou <evan@e14n.com>
Sat, 15 Jun 2013 16:07:52 +0000 (12:07 -0400)
classes/Notice.php

index 9a4b6db7fffadf8d5b62ee573f5b32bc003e99aa..462ce8b53caf63ff90b8b53c5df89469b91d7cff 100644 (file)
@@ -1504,9 +1504,8 @@ class Notice extends Managed_DataObject
 
         if (Event::handle('StartNoticeAsActivity', array($this, &$act))) {
 
-            $act->id      = $this->uri;
+            $act->id      = TagURI::mint("post:".$this->id);
             $act->time    = strtotime($this->created);
-            $act->link    = $this->bestUrl();
             $act->content = common_xml_safe_str($this->rendered);
 
             $profile = $this->getProfile();