Only accept 'you left group' messages when group blocked
This commit is contained in:
parent
c2e0ec5636
commit
814b9cf26a
2 changed files with 12 additions and 6 deletions
|
@ -920,9 +920,9 @@
|
|||
updates.left = true;
|
||||
}
|
||||
|
||||
if (details.blocked === true) {
|
||||
if (details.blocked) {
|
||||
storage.addBlockedGroup(id);
|
||||
} else if (details.blocked === false) {
|
||||
} else {
|
||||
storage.removeBlockedGroup(id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue