Handle group quit sync messages
Previously, we would incorrectly reject group updates originating from a linked device instructing us to remove ourselves from the group. // FREEBIE
This commit is contained in:
@@ -280,7 +280,11 @@
|
||||
}
|
||||
}
|
||||
else if (dataMessage.group.type === textsecure.protobuf.GroupContext.Type.QUIT) {
|
||||
group_update = { left: source };
|
||||
if (source == textsecure.storage.user.getNumber()) {
|
||||
group_update = { left: "You" };
|
||||
} else {
|
||||
group_update = { left: source };
|
||||
}
|
||||
attributes.members = _.without(conversation.get('members'), source);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user