diff --git a/lib/utils/url_launcher.dart b/lib/utils/url_launcher.dart index 808f64f65..53de9b138 100644 --- a/lib/utils/url_launcher.dart +++ b/lib/utils/url_launcher.dart @@ -169,10 +169,10 @@ class UrlLauncher { // we have the room, so....just open it if (event != null) { context.go( - Uri( + '/${Uri( pathSegments: ['rooms', room.id], queryParameters: {'event': event}, - ).toString(), + )}', ); } else { context.go('/rooms/${room.id}');