You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/SignalUtilitiesKit/Utilities/NoopNotificationsManager.swift

24 lines
560 B
Swift

//
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
//
import Foundation
import GRDB
import SessionMessagingKit
@objc
public class NoopNotificationsManager: NSObject, NotificationsProtocol {
public func notifyUser(_ db: Database, for interaction: Interaction, in thread: SessionThread, isBackgroundPoll: Bool) {
owsFailDebug("")
}
public func cancelNotifications(identifiers: [String]) {
owsFailDebug("")
}
public func clearAllNotifications() {
Logger.warn("clearAllNotifications")
}
}