mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Handle Room Routing using the membership state (#2154)
This commit is contained in:
@@ -252,15 +252,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationCoordinatorDelegate,
|
||||
}
|
||||
|
||||
// Handle here the account switching when available
|
||||
|
||||
switch content.categoryIdentifier {
|
||||
case NotificationConstants.Category.message:
|
||||
handleAppRoute(.room(roomID: roomID))
|
||||
case NotificationConstants.Category.invite:
|
||||
handleAppRoute(.invites)
|
||||
default:
|
||||
break
|
||||
}
|
||||
handleAppRoute(.room(roomID: roomID))
|
||||
}
|
||||
|
||||
func handleInlineReply(_ service: NotificationManagerProtocol, content: UNNotificationContent, replyText: String) async {
|
||||
|
||||
@@ -22,7 +22,6 @@ enum AppRoute: Equatable {
|
||||
case room(roomID: String)
|
||||
case roomDetails(roomID: String)
|
||||
case roomMemberDetails(userID: String)
|
||||
case invites
|
||||
case genericCallLink(url: URL)
|
||||
case settings
|
||||
case chatBackupSettings
|
||||
|
||||
Reference in New Issue
Block a user