Hopefully fixes notice "Undefined index: gravity"
This commit is contained in:
@@ -843,6 +843,7 @@ class Contact
|
|||||||
// create an unfollow slap
|
// create an unfollow slap
|
||||||
$item = [];
|
$item = [];
|
||||||
$item['verb'] = Activity::O_UNFOLLOW;
|
$item['verb'] = Activity::O_UNFOLLOW;
|
||||||
|
$item['gravity'] = GRAVITY_ACTIVITY;
|
||||||
$item['follow'] = $contact["url"];
|
$item['follow'] = $contact["url"];
|
||||||
$item['body'] = '';
|
$item['body'] = '';
|
||||||
$item['title'] = '';
|
$item['title'] = '';
|
||||||
@@ -2470,6 +2471,7 @@ class Contact
|
|||||||
// create a follow slap
|
// create a follow slap
|
||||||
$item = [];
|
$item = [];
|
||||||
$item['verb'] = Activity::FOLLOW;
|
$item['verb'] = Activity::FOLLOW;
|
||||||
|
$item['gravity'] = GRAVITY_ACTIVITY;
|
||||||
$item['follow'] = $contact["url"];
|
$item['follow'] = $contact["url"];
|
||||||
$item['body'] = '';
|
$item['body'] = '';
|
||||||
$item['title'] = '';
|
$item['title'] = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user