Add Event Routes to the flows (#2743)

This commit is contained in:
Doug
2024-04-25 12:50:06 +01:00
committed by GitHub
parent 8581355372
commit 6661c16154
8 changed files with 138 additions and 52 deletions
@@ -206,6 +206,18 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
} else {
handleAppRoute(.childRoomAlias(alias))
}
case .event(let roomID, let eventID):
if isExternalURL {
handleAppRoute(route)
} else {
handleAppRoute(.childEvent(roomID: roomID, eventID: eventID))
}
case .eventOnRoomAlias(let alias, let eventID):
if isExternalURL {
handleAppRoute(route)
} else {
handleAppRoute(.childEventOnRoomAlias(alias: alias, eventID: eventID))
}
default:
break
}