Possible fix for issue 4013
This commit is contained in:
parent
cf45e8738c
commit
3824ad5590
|
@ -992,7 +992,7 @@ class Diaspora
|
||||||
* That makes us friends.
|
* That makes us friends.
|
||||||
* Normally this should have handled by getting a request - but this could get lost
|
* Normally this should have handled by getting a request - but this could get lost
|
||||||
*/
|
*/
|
||||||
if ($contact["rel"] == CONTACT_IS_FOLLOWER && in_array($importer["page-flags"], array(PAGE_FREELOVE))) {
|
if (!$is_comment && $contact["rel"] == CONTACT_IS_FOLLOWER && in_array($importer["page-flags"], array(PAGE_FREELOVE))) {
|
||||||
dba::update(
|
dba::update(
|
||||||
'contact',
|
'contact',
|
||||||
array('rel' => CONTACT_IS_FRIEND, 'writable' => true),
|
array('rel' => CONTACT_IS_FRIEND, 'writable' => true),
|
||||||
|
|
Loading…
Reference in a new issue