Fix open user link

This commit is contained in:
Christian Pauly 2020-05-09 13:06:18 +02:00
parent 2f42cddd08
commit eb72198048

View file

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