From 7a5bd495c5f39e38d5cf49cd631a1700336b8b5f 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 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(); -- 2.39.2