chore: Better routing to space id
This commit is contained in:
parent
765bff9e32
commit
70c5f03e8d
3 changed files with 7 additions and 0 deletions
|
|
@ -66,6 +66,8 @@ class PublicRoomDialog extends StatelessWidget {
|
|||
if (chunk?.roomType != 'm.space' &&
|
||||
!client.getRoomById(result.result!)!.isSpace) {
|
||||
context.go('/rooms/$roomId');
|
||||
} else {
|
||||
context.go('/rooms?spaceId=$roomId');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue