chore: do as suggestion
This commit is contained in:
parent
cbb2810b37
commit
ccb2a23075
3 changed files with 3 additions and 10 deletions
|
|
@ -148,10 +148,10 @@ extension LocalNotificationsExtension on MatrixState {
|
|||
break;
|
||||
case DesktopNotificationActions.openChat:
|
||||
if (userId != null) {
|
||||
FluffyChatApp.router.go('/rooms/${event.room.id}?userId=$userId');
|
||||
} else {
|
||||
FluffyChatApp.router.go('/rooms/${event.room.id}');
|
||||
Matrix.of(context).setActiveClientWithUserId(userId);
|
||||
}
|
||||
|
||||
FluffyChatApp.router.go('/rooms/${event.room.id}');
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue