From 8cc4660bd94a6de922794e3feec3742a1c7cb1bf Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 15 Jun 2013 12:07:34 -0400 Subject: [PATCH] Better ID for notice activity --- classes/Notice.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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();