Merge branch 'soru/escape-routes' into 'main'

fix: Properly encode and decode vRouter paths

See merge request famedly/fluffychat!487
This commit is contained in:
Krille Fear 2021-08-22 10:05:30 +00:00
commit f1e76fbb10
22 changed files with 47 additions and 38 deletions

View file

@ -238,7 +238,8 @@ class SearchView extends StatelessWidget {
.startDirectChat(foundProfile.userId),
);
if (roomID.error == null) {
VRouter.of(context).to('/rooms/${roomID.result}');
VRouter.of(context)
.toSegments(['rooms', roomID.result]);
}
},
leading: Avatar(