This commit is contained in:
nielsandriesse 2020-09-30 09:09:56 +10:00
parent edd6443fc9
commit 65f0eb3906

View file

@ -316,7 +316,6 @@ object ClosedGroupsProtocol {
}
// Store the ratchets for any new members (it's important that this happens before the code below)
senderKeys.forEach { senderKey ->
if (!members.contains(senderKey.publicKey.toHexString())) { return@forEach }
val ratchet = ClosedGroupRatchet(senderKey.chainKey.toHexString(), senderKey.keyIndex, listOf())
sskDatabase.setClosedGroupRatchet(groupPublicKey, senderKey.publicKey.toHexString(), ratchet)
}