Better ID for notice activity

This commit is contained in:
Evan Prodromou 2013-06-15 12:07:34 -04:00
parent b23a744fba
commit 7a5bd495c5

View File

@ -1498,9 +1498,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();