fix: Open room links with event id
This commit is contained in:
parent
2e67695645
commit
ecaac9eec2
1 changed files with 2 additions and 2 deletions
|
|
@ -169,10 +169,10 @@ class UrlLauncher {
|
||||||
// we have the room, so....just open it
|
// we have the room, so....just open it
|
||||||
if (event != null) {
|
if (event != null) {
|
||||||
context.go(
|
context.go(
|
||||||
Uri(
|
'/${Uri(
|
||||||
pathSegments: ['rooms', room.id],
|
pathSegments: ['rooms', room.id],
|
||||||
queryParameters: {'event': event},
|
queryParameters: {'event': event},
|
||||||
).toString(),
|
)}',
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
context.go('/rooms/${room.id}');
|
context.go('/rooms/${room.id}');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue