fix: use vrouter.toSegments
This commit is contained in:
parent
4a02f9d076
commit
02e57474fe
22 changed files with 47 additions and 38 deletions
|
|
@ -283,7 +283,7 @@ class BackgroundPush {
|
|||
if (router == null) {
|
||||
return;
|
||||
}
|
||||
router.currentState.to('/rooms/$roomId');
|
||||
router.currentState.toSegments(['rooms', roomId]);
|
||||
} catch (e, s) {
|
||||
Logs().e('[Push] Failed to open room', e, s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue