From 39740ee6fff491a1bcaab78c5f19b000113f864b Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Sat, 19 Sep 2020 09:50:52 +1000 Subject: [PATCH] Remove redundant protocol conformance --- .../Closed Groups/SharedSenderKeysImplementation.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }