Commit 654fdf2f authored by Evan Prodromou's avatar Evan Prodromou

Don't try to read the URLs in system notices

parent 94503a50
......@@ -99,6 +99,7 @@ class ActivityPlugin extends Plugin
$content,
ActivityPlugin::SOURCE,
array('rendered' => $rendered,
'urls' => array(),
'replies' => array($other->getUri()),
'verb' => ActivityVerb::FOLLOW,
'object_type' => ActivityObject::PERSON,
......@@ -133,6 +134,7 @@ class ActivityPlugin extends Plugin
$content,
ActivityPlugin::SOURCE,
array('rendered' => $rendered,
'urls' => array(),
'replies' => array($other->getUri()),
'uri' => $uri,
'verb' => ActivityVerb::UNFOLLOW,
......@@ -169,6 +171,7 @@ class ActivityPlugin extends Plugin
$content,
ActivityPlugin::SOURCE,
array('rendered' => $rendered,
'urls' => array(),
'replies' => array($author->getUri()),
'uri' => $fave->getURI(),
'verb' => ActivityVerb::FAVORITE,
......@@ -206,6 +209,7 @@ class ActivityPlugin extends Plugin
$content,
ActivityPlugin::SOURCE,
array('rendered' => $rendered,
'urls' => array(),
'replies' => array($author->getUri()),
'uri' => $uri,
'verb' => ActivityVerb::UNFAVORITE,
......@@ -244,6 +248,7 @@ class ActivityPlugin extends Plugin
$content,
ActivityPlugin::SOURCE,
array('rendered' => $rendered,
'urls' => array(),
'groups' => array($group->id),
'uri' => $mem->getURI(),
'verb' => ActivityVerb::JOIN,
......@@ -282,6 +287,7 @@ class ActivityPlugin extends Plugin
$content,
ActivityPlugin::SOURCE,
array('rendered' => $rendered,
'urls' => array(),
'groups' => array($group->id),
'uri' => $uri,
'verb' => ActivityVerb::LEAVE,
......
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