Possible fix for issue 4013

2022.09-rc
Michael 2017-12-07 19:39:55 +00:00
rodzic cf45e8738c
commit 3824ad5590
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -992,7 +992,7 @@ class Diaspora
* That makes us friends.
* 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(
'contact',
array('rel' => CONTACT_IS_FRIEND, 'writable' => true),