Hopefully fixes notice "Undefined index: gravity"
This commit is contained in:
parent
84c56c481a
commit
8707ced2f7
1 changed files with 2 additions and 0 deletions
|
@ -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'] = '';
|
||||||
|
|
Loading…
Reference in a new issue