From 68626093d7501caaa935ace1ecfbe1139f6d640b Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Wed, 30 Sep 2020 09:09:22 +1000 Subject: [PATCH] Debug --- .../src/Loki/Protocol/Closed Groups/ClosedGroupsProtocol.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/SignalServiceKit/src/Loki/Protocol/Closed Groups/ClosedGroupsProtocol.swift b/SignalServiceKit/src/Loki/Protocol/Closed Groups/ClosedGroupsProtocol.swift index d04d75eaf..4959d68ec 100644 --- a/SignalServiceKit/src/Loki/Protocol/Closed Groups/ClosedGroupsProtocol.swift +++ b/SignalServiceKit/src/Loki/Protocol/Closed Groups/ClosedGroupsProtocol.swift @@ -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) }