2022-05-23 04:23:43 +02:00
|
|
|
import Foundation
|
2020-11-11 00:58:56 +01:00
|
|
|
|
|
|
|
public extension Notification.Name {
|
|
|
|
|
|
|
|
// State changes
|
2020-11-16 00:34:47 +01:00
|
|
|
static let contactOnlineStatusChanged = Notification.Name("contactOnlineStatusChanged")
|
|
|
|
static let threadDeleted = Notification.Name("threadDeleted")
|
|
|
|
static let threadSessionRestoreDevicesChanged = Notification.Name("threadSessionRestoreDevicesChanged")
|
2020-11-11 00:58:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@objc public extension NSNotification {
|
|
|
|
|
|
|
|
// State changes
|
2020-11-16 00:34:47 +01:00
|
|
|
@objc static let contactOnlineStatusChanged = Notification.Name.contactOnlineStatusChanged.rawValue as NSString
|
|
|
|
@objc static let threadDeleted = Notification.Name.threadDeleted.rawValue as NSString
|
|
|
|
@objc static let threadSessionRestoreDevicesChanged = Notification.Name.threadSessionRestoreDevicesChanged.rawValue as NSString
|
2020-11-11 00:58:56 +01:00
|
|
|
}
|