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,
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user