diff --git a/SignalServiceKit/src/Loki/Protocol/Closed Groups/SharedSenderKeysImplementation.swift b/SignalServiceKit/src/Loki/Protocol/Closed Groups/SharedSenderKeysImplementation.swift index cc0da29b5..b382b0bd7 100644 --- a/SignalServiceKit/src/Loki/Protocol/Closed Groups/SharedSenderKeysImplementation.swift +++ b/SignalServiceKit/src/Loki/Protocol/Closed Groups/SharedSenderKeysImplementation.swift @@ -3,7 +3,7 @@ import PromiseKit import SessionMetadataKit @objc(LKSharedSenderKeysImplementation) -public final class SharedSenderKeysImplementation : NSObject, SharedSenderKeysProtocol { +public final class SharedSenderKeysImplementation : NSObject { private static let gcmTagSize: UInt = 16 private static let ivSize: UInt = 12 @@ -180,7 +180,7 @@ public final class SharedSenderKeysImplementation : NSObject, SharedSenderKeysPr return Data(try aes.decrypt(ciphertext.bytes)) } - public func isClosedGroup(_ publicKey: String) -> Bool { + @objc public func isClosedGroup(_ publicKey: String) -> Bool { return Storage.getUserClosedGroupPublicKeys().contains(publicKey) }