chore: do as suggested

This commit is contained in:
ShootingStarDragons 2025-11-19 18:16:37 +09:00
commit 27b2eac7ed
3 changed files with 2 additions and 30 deletions

View file

@ -147,8 +147,8 @@ extension LocalNotificationsExtension on MatrixState {
);
break;
case DesktopNotificationActions.openChat:
if (userId != null && controller != null) {
controller!.setActiveClientWithUserId(userId);
if (userId != null) {
setActiveClient(event.room.client);
}
FluffyChatApp.router.go('/rooms/${event.room.id}');