This commit is contained in:
nielsandriesse 2020-09-30 09:09:22 +10:00
parent eee7ee3381
commit 68626093d7

View file

@ -326,7 +326,6 @@ public final class ClosedGroupsProtocol : NSObject {
}
// Store the ratchets for any new members (it's important that this happens before the code below)
senderKeys.forEach { senderKey in
guard membersAndLinkedDevices.contains(senderKey.publicKey.toHexString()) else { return }
let ratchet = ClosedGroupRatchet(chainKey: senderKey.chainKey.toHexString(), keyIndex: UInt(senderKey.keyIndex), messageKeys: [])
Storage.setClosedGroupRatchet(for: groupPublicKey, senderPublicKey: senderKey.publicKey.toHexString(), ratchet: ratchet, using: transaction)
}