chore: do as suggested
This commit is contained in:
parent
acce4a8d7b
commit
27b2eac7ed
3 changed files with 2 additions and 30 deletions
|
|
@ -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}');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue