From: Evan Prodromou Date: Sat, 15 Jun 2013 16:07:34 +0000 (-0400) Subject: Better ID for notice activity X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7a5bd495c5f39e38d5cf49cd631a1700336b8b5f;p=quix0rs-gnu-social.git Better ID for notice activity --- diff --git a/classes/Notice.php b/classes/Notice.php index 83d49f3d0f..7516e146b2 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -1498,9 +1498,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();