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=8cc4660bd94a6de922794e3feec3742a1c7cb1bf;p=quix0rs-gnu-social.git Better ID for notice activity --- diff --git a/classes/Notice.php b/classes/Notice.php index 9a4b6db7ff..462ce8b53c 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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();