From ecaac9eec2cd65059d1b3ce60eea64d569de9328 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Mon, 5 Feb 2024 09:05:31 +0100 Subject: [PATCH] fix: Open room links with event id --- lib/utils/url_launcher.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}');