From 355c37bc3fe30511b0e36d8c6078fb8dd5004e14 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 21 Oct 2013 22:27:12 +0200 Subject: [PATCH] Revert "Better ID for notice activity" This reverts commit 8cc4660bd94a6de922794e3feec3742a1c7cb1bf. This seems like something Evan only did to make pump.io import notices easier, or maybe he just wanted to get rid of the identi.ca URLs? --- classes/Notice.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Notice.php b/classes/Notice.php index ed5a494f7e..1569590ba8 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -1508,8 +1508,9 @@ class Notice extends Managed_DataObject if (Event::handle('StartNoticeAsActivity', array($this, &$act))) { - $act->id = TagURI::mint("post:".$this->id); + $act->id = $this->uri; $act->time = strtotime($this->created); + $act->link = $this->bestUrl(); $act->content = common_xml_safe_str($this->rendered); $profile = $this->getProfile(); -- 2.39.2