Extract NSE specific code out of the UNNotificationContent extension

This commit is contained in:
Stefan Ceriu
2025-04-17 12:40:20 +03:00
committed by Stefan Ceriu
parent 558a77525b
commit 4bff7df821
3 changed files with 174 additions and 166 deletions

View File

@@ -348,7 +348,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
func handleInlineReply(_ service: NotificationManagerProtocol, content: UNNotificationContent, replyText: String) async {
MXLog.info("[AppCoordinator] handle notification reply")
guard let roomID = content.userInfo[NotificationConstants.UserInfoKey.roomIdentifier] as? String else {
guard let roomID = content.roomID else {
return
}