|
|
@ -462,6 +462,16 @@
|
|
|
|
isMe: true,
|
|
|
|
isMe: true,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else if (groupUpdate.left) {
|
|
|
|
} else if (groupUpdate.left) {
|
|
|
|
|
|
|
|
if (
|
|
|
|
|
|
|
|
Array.isArray(groupUpdate.left) &&
|
|
|
|
|
|
|
|
groupUpdate.left.length === 1 &&
|
|
|
|
|
|
|
|
groupUpdate.left[0] === textsecure.storage.user.getNumber()
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
changes.push({
|
|
|
|
|
|
|
|
type: 'remove',
|
|
|
|
|
|
|
|
isMe: true,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else {
|
|
|
|
changes.push({
|
|
|
|
changes.push({
|
|
|
|
type: 'remove',
|
|
|
|
type: 'remove',
|
|
|
|
contacts: _.map(
|
|
|
|
contacts: _.map(
|
|
|
@ -472,6 +482,7 @@
|
|
|
|
),
|
|
|
|
),
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (groupUpdate.name) {
|
|
|
|
if (groupUpdate.name) {
|
|
|
|
changes.push({
|
|
|
|
changes.push({
|
|
|
|