Better ID for notice activity
This commit is contained in:
parent
67f80e8503
commit
8cc4660bd9
@ -1504,9 +1504,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