We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 8cc4660b authored by Evan Prodromou's avatar Evan Prodromou

Better ID for notice activity

parent 67f80e85
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment