Remove redundant protocol conformance

pull/275/head
nielsandriesse 5 years ago
parent a3819cc45f
commit 39740ee6ff

@ -3,7 +3,7 @@ import PromiseKit
import SessionMetadataKit import SessionMetadataKit
@objc(LKSharedSenderKeysImplementation) @objc(LKSharedSenderKeysImplementation)
public final class SharedSenderKeysImplementation : NSObject, SharedSenderKeysProtocol { public final class SharedSenderKeysImplementation : NSObject {
private static let gcmTagSize: UInt = 16 private static let gcmTagSize: UInt = 16
private static let ivSize: UInt = 12 private static let ivSize: UInt = 12
@ -180,7 +180,7 @@ public final class SharedSenderKeysImplementation : NSObject, SharedSenderKeysPr
return Data(try aes.decrypt(ciphertext.bytes)) 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) return Storage.getUserClosedGroupPublicKeys().contains(publicKey)
} }

Loading…
Cancel
Save