Better ID for notice activity

This commit is contained in:
Evan Prodromou 2013-06-15 12:07:34 -04:00
parent 67f80e8503
commit 8cc4660bd9

View File

@ -1504,9 +1504,8 @@ class Notice extends Managed_DataObject
if (Event::handle('StartNoticeAsActivity', array($this, &$act))) { if (Event::handle('StartNoticeAsActivity', array($this, &$act))) {
$act->id = $this->uri; $act->id = TagURI::mint("post:".$this->id);
$act->time = strtotime($this->created); $act->time = strtotime($this->created);
$act->link = $this->bestUrl();
$act->content = common_xml_safe_str($this->rendered); $act->content = common_xml_safe_str($this->rendered);
$profile = $this->getProfile(); $profile = $this->getProfile();