after joining a space, open space details
This commit is contained in:
parent
990980155e
commit
1faf151001
2 changed files with 3 additions and 2 deletions
|
|
@ -523,6 +523,9 @@ class ChatListController extends State<ChatList>
|
|||
// if (event["activeSpaceId"] != null && mounted) {
|
||||
if (mounted) {
|
||||
setActiveSpace(event["activeSpaceId"]);
|
||||
if (event["activeSpaceId"] != null) {
|
||||
context.go("/rooms/${event["activeSpaceId"]}/details");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -220,7 +220,6 @@ class NewSpaceController extends State<NewSpace> {
|
|||
);
|
||||
MatrixState.pangeaController.classController
|
||||
.setActiveSpaceIdInChatListController(spaceId);
|
||||
context.go("/rooms/$spaceId/details");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -249,7 +248,6 @@ class NewSpaceController extends State<NewSpace> {
|
|||
// context.pop<String>(spaceId);
|
||||
MatrixState.pangeaController.classController
|
||||
.setActiveSpaceIdInChatListController(spaceId);
|
||||
context.go("/rooms/$spaceId/details");
|
||||
// Pangea#
|
||||
} catch (e) {
|
||||
setState(() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue