mark medium group as not left if we get a message INFO adding us back

pull/1364/head
Audric Ackermann 5 years ago
parent cfb9e65f30
commit 3fa1a8f2b5
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -326,11 +326,18 @@ async function handleMediumGroupChange(
// Disable typing:
convo.updateTextInputState();
window.SwarmPolling.removePubkey(groupId);
} else {
if (maybeConvo.get('isKickedFromGroup')) {
// Enable typing:
maybeConvo.set('isKickedFromGroup', false);
maybeConvo.set('left', false);
maybeConvo.updateTextInputState();
}
}
await convo.commit();
if (diff.leavingMembers && diff.leavingMembers.length > 0) {
if (diff.leavingMembers && diff.leavingMembers.length > 0 && !areWeKicked) {
// Send out the user's new ratchet to all members (minus the removed ones) using established channels
const userSenderKey = await createSenderKeyForGroup(groupId, primary);
window.log.warn(

Loading…
Cancel
Save