Fix being re-added to a group you previously left
Negate the flag marking the group as left. Fixes #1207. // FREEBIE
This commit is contained in:
parent
13a91eece8
commit
3dbb21c53c
1 changed files with 4 additions and 0 deletions
|
@ -386,6 +386,10 @@
|
|||
if (difference.length > 0) {
|
||||
group_update.joined = difference;
|
||||
}
|
||||
if (conversation.get('left')) {
|
||||
console.log('re-added to a left group');
|
||||
attributes.left = false;
|
||||
}
|
||||
}
|
||||
else if (dataMessage.group.type === textsecure.protobuf.GroupContext.Type.QUIT) {
|
||||
if (source == textsecure.storage.user.getNumber()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue