mirror of
https://github.com/friendica/friendica
synced 2024-12-23 05:20:15 +00:00
Stop automatically remove newly blocked contacts from their groups
This commit is contained in:
parent
b610d4e82d
commit
6501acf0bc
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue