From: Hypolite Petovan Date: Tue, 24 Dec 2019 21:45:08 +0000 (-0500) Subject: Stop automatically remove newly blocked contacts from their groups X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6501acf0bcffaa07fc3c2abe165d271985ea47b9;p=friendica.git Stop automatically remove newly blocked contacts from their groups --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 534c99d465..6c0436eea2 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -406,11 +406,6 @@ class Contact extends BaseObject } DBA::update('user-contact', ['blocked' => $blocked], ['cid' => $cdata['public'], 'uid' => $uid], true); - - if ($blocked) { - // Blocked contact can't be in any group - self::removeFromGroups($cid); - } } /**