Better ID for notice activity
This commit is contained in:
parent
b23a744fba
commit
7a5bd495c5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user