Fix open user link

This commit is contained in:
Christian Pauly 2020-05-09 13:06:18 +02:00
parent 2f42cddd08
commit eb72198048
1 changed files with 3 additions and 2 deletions

View File

@ -43,9 +43,10 @@ class UrlLauncher {
Navigator.of(context).pop();
if (roomID != null) {
await Navigator.push(
await Navigator.pushAndRemoveUntil(
context,
MaterialPageRoute(builder: (context) => ChatView(roomID)),
AppRoute.defaultRoute(context, ChatView(roomID)),
(r) => r.isFirst,
);
}
}