diff --git a/SignalServiceKit/src/Loki/Protocol/Closed Groups/ClosedGroupsProtocol.swift b/SignalServiceKit/src/Loki/Protocol/Closed Groups/ClosedGroupsProtocol.swift index 7c826844a..13df2c6b7 100644 --- a/SignalServiceKit/src/Loki/Protocol/Closed Groups/ClosedGroupsProtocol.swift +++ b/SignalServiceKit/src/Loki/Protocol/Closed Groups/ClosedGroupsProtocol.swift @@ -241,8 +241,8 @@ public final class ClosedGroupsProtocol : NSObject { case .new: return !(closedGroupUpdate.name ?? "").isEmpty && !(closedGroupUpdate.groupPrivateKey ?? Data()).isEmpty && !closedGroupUpdate.senderKeys.isEmpty && !closedGroupUpdate.members.isEmpty && !closedGroupUpdate.admins.isEmpty case .info: return !(closedGroupUpdate.name ?? "").isEmpty && !closedGroupUpdate.members.isEmpty && !closedGroupUpdate.admins.isEmpty // senderKeys may be empty - case .senderKey: return true - case .senderKeyRequest: return !closedGroupUpdate.senderKeys.isEmpty + case .senderKeyRequest: return true + case .senderKey: return !closedGroupUpdate.senderKeys.isEmpty } }