Don't try to read the URLs in system notices
This commit is contained in:
parent
94503a50fd
commit
654fdf2fa4
|
@ -99,6 +99,7 @@ class ActivityPlugin extends Plugin
|
||||||
$content,
|
$content,
|
||||||
ActivityPlugin::SOURCE,
|
ActivityPlugin::SOURCE,
|
||||||
array('rendered' => $rendered,
|
array('rendered' => $rendered,
|
||||||
|
'urls' => array(),
|
||||||
'replies' => array($other->getUri()),
|
'replies' => array($other->getUri()),
|
||||||
'verb' => ActivityVerb::FOLLOW,
|
'verb' => ActivityVerb::FOLLOW,
|
||||||
'object_type' => ActivityObject::PERSON,
|
'object_type' => ActivityObject::PERSON,
|
||||||
|
@ -133,6 +134,7 @@ class ActivityPlugin extends Plugin
|
||||||
$content,
|
$content,
|
||||||
ActivityPlugin::SOURCE,
|
ActivityPlugin::SOURCE,
|
||||||
array('rendered' => $rendered,
|
array('rendered' => $rendered,
|
||||||
|
'urls' => array(),
|
||||||
'replies' => array($other->getUri()),
|
'replies' => array($other->getUri()),
|
||||||
'uri' => $uri,
|
'uri' => $uri,
|
||||||
'verb' => ActivityVerb::UNFOLLOW,
|
'verb' => ActivityVerb::UNFOLLOW,
|
||||||
|
@ -169,6 +171,7 @@ class ActivityPlugin extends Plugin
|
||||||
$content,
|
$content,
|
||||||
ActivityPlugin::SOURCE,
|
ActivityPlugin::SOURCE,
|
||||||
array('rendered' => $rendered,
|
array('rendered' => $rendered,
|
||||||
|
'urls' => array(),
|
||||||
'replies' => array($author->getUri()),
|
'replies' => array($author->getUri()),
|
||||||
'uri' => $fave->getURI(),
|
'uri' => $fave->getURI(),
|
||||||
'verb' => ActivityVerb::FAVORITE,
|
'verb' => ActivityVerb::FAVORITE,
|
||||||
|
@ -206,6 +209,7 @@ class ActivityPlugin extends Plugin
|
||||||
$content,
|
$content,
|
||||||
ActivityPlugin::SOURCE,
|
ActivityPlugin::SOURCE,
|
||||||
array('rendered' => $rendered,
|
array('rendered' => $rendered,
|
||||||
|
'urls' => array(),
|
||||||
'replies' => array($author->getUri()),
|
'replies' => array($author->getUri()),
|
||||||
'uri' => $uri,
|
'uri' => $uri,
|
||||||
'verb' => ActivityVerb::UNFAVORITE,
|
'verb' => ActivityVerb::UNFAVORITE,
|
||||||
|
@ -244,6 +248,7 @@ class ActivityPlugin extends Plugin
|
||||||
$content,
|
$content,
|
||||||
ActivityPlugin::SOURCE,
|
ActivityPlugin::SOURCE,
|
||||||
array('rendered' => $rendered,
|
array('rendered' => $rendered,
|
||||||
|
'urls' => array(),
|
||||||
'groups' => array($group->id),
|
'groups' => array($group->id),
|
||||||
'uri' => $mem->getURI(),
|
'uri' => $mem->getURI(),
|
||||||
'verb' => ActivityVerb::JOIN,
|
'verb' => ActivityVerb::JOIN,
|
||||||
|
@ -282,6 +287,7 @@ class ActivityPlugin extends Plugin
|
||||||
$content,
|
$content,
|
||||||
ActivityPlugin::SOURCE,
|
ActivityPlugin::SOURCE,
|
||||||
array('rendered' => $rendered,
|
array('rendered' => $rendered,
|
||||||
|
'urls' => array(),
|
||||||
'groups' => array($group->id),
|
'groups' => array($group->id),
|
||||||
'uri' => $uri,
|
'uri' => $uri,
|
||||||
'verb' => ActivityVerb::LEAVE,
|
'verb' => ActivityVerb::LEAVE,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user