mirror of https://github.com/oxen-io/session-ios
Merge branch 'dev' into light-mode
commit
a85875e4df
@ -1 +1 @@
|
||||
Subproject commit 67dbced37481e0011a3df1397ed57711384a4957
|
||||
Subproject commit 2870e676deec6a7ddb931edb6f0284f1f5b36085
|
@ -1,36 +1,40 @@
|
||||
|
||||
public extension Notification.Name {
|
||||
|
||||
// State changes
|
||||
public static let contactOnlineStatusChanged = Notification.Name("contactOnlineStatusChanged")
|
||||
public static let newMessagesReceived = Notification.Name("newMessagesReceived")
|
||||
public static let threadFriendRequestStatusChanged = Notification.Name("threadFriendRequestStatusChanged")
|
||||
public static let messageFriendRequestStatusChanged = Notification.Name("messageFriendRequestStatusChanged")
|
||||
public static let threadDeleted = Notification.Name("threadDeleted")
|
||||
public static let dataNukeRequested = Notification.Name("dataNukeRequested")
|
||||
public static let threadSessionRestoreDevicesChanged = Notification.Name("threadSessionRestoreDevicesChanged")
|
||||
// Message statuses
|
||||
// Message status changes
|
||||
public static let calculatingPoW = Notification.Name("calculatingPoW")
|
||||
public static let contactingNetwork = Notification.Name("contactingNetwork")
|
||||
public static let sendingMessage = Notification.Name("sendingMessage")
|
||||
public static let routing = Notification.Name("routing")
|
||||
public static let messageSending = Notification.Name("messageSending")
|
||||
public static let messageSent = Notification.Name("messageSent")
|
||||
public static let messageFailed = Notification.Name("messageFailed")
|
||||
// Onboarding
|
||||
public static let seedViewed = Notification.Name("seedViewed")
|
||||
// Interaction
|
||||
public static let dataNukeRequested = Notification.Name("dataNukeRequested")
|
||||
}
|
||||
|
||||
@objc public extension NSNotification {
|
||||
|
||||
// State changes
|
||||
@objc public static let contactOnlineStatusChanged = Notification.Name.contactOnlineStatusChanged.rawValue as NSString
|
||||
@objc public static let newMessagesReceived = Notification.Name.newMessagesReceived.rawValue as NSString
|
||||
@objc public static let threadFriendRequestStatusChanged = Notification.Name.threadFriendRequestStatusChanged.rawValue as NSString
|
||||
@objc public static let messageFriendRequestStatusChanged = Notification.Name.messageFriendRequestStatusChanged.rawValue as NSString
|
||||
@objc public static let threadDeleted = Notification.Name.threadDeleted.rawValue as NSString
|
||||
@objc public static let dataNukeRequested = Notification.Name.dataNukeRequested.rawValue as NSString
|
||||
@objc public static let threadSessionRestoreDevicesChanged = Notification.Name.threadSessionRestoreDevicesChanged.rawValue as NSString
|
||||
// Message statuses
|
||||
@objc public static let calculatingPoW = Notification.Name.calculatingPoW.rawValue as NSString
|
||||
@objc public static let contactingNetwork = Notification.Name.contactingNetwork.rawValue as NSString
|
||||
@objc public static let sendingMessage = Notification.Name.sendingMessage.rawValue as NSString
|
||||
@objc public static let routing = Notification.Name.routing.rawValue as NSString
|
||||
@objc public static let messageSending = Notification.Name.messageSending.rawValue as NSString
|
||||
@objc public static let messageSent = Notification.Name.messageSent.rawValue as NSString
|
||||
@objc public static let messageFailed = Notification.Name.messageFailed.rawValue as NSString
|
||||
// Onboarding
|
||||
@objc public static let seedViewed = Notification.Name.seedViewed.rawValue as NSString
|
||||
// Interaction
|
||||
@objc public static let dataNukeRequested = Notification.Name.dataNukeRequested.rawValue as NSString
|
||||
}
|
Loading…
Reference in New Issue