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:
@@ -386,6 +386,10 @@
|
|||||||
if (difference.length > 0) {
|
if (difference.length > 0) {
|
||||||
group_update.joined = difference;
|
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) {
|
else if (dataMessage.group.type === textsecure.protobuf.GroupContext.Type.QUIT) {
|
||||||
if (source == textsecure.storage.user.getNumber()) {
|
if (source == textsecure.storage.user.getNumber()) {
|
||||||
|
Reference in New Issue
Block a user