Skip to content

Commit 0c275c0

Browse files
committed
fixup! feat: use new epoch observer API from CoreCrypto
1 parent 00ec617 commit 0c275c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wire-ios-data-model/Source/MLS/MLSService.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2186,10 +2186,9 @@ public final class MLSService: MLSServiceInterface {
21862186

21872187
public func startObservingEpochs() {
21882188
Task {
2189-
// TODO: [WPB-16966] registerEpochObserver is not exposed on CoreCryptoProtocol
21902189
do {
21912190
try await coreCrypto.configure { coreCrypto in
2192-
try await (coreCrypto as? CoreCrypto)?.registerEpochObserver(self)
2191+
try await coreCrypto.registerEpochObserver(self)
21932192
}
21942193
} catch {
21952194
logger.error("failed to start epoch observer: \(String(describing: error))")

0 commit comments

Comments
 (0)