mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 05:06:58 +02:00
iOS Console: support multi-sessions in Recents and Settings Tabs.
(TODO: update `Home` and `Contacts` Tabs, presently these 2 tabs consider only the first created matrix session).
This commit is contained in:
@@ -247,7 +247,7 @@
|
||||
|
||||
// Select room to display its details (dispatch this action in order to let TabBarController end its refresh)
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
recentsViewController.selectedRoomId = roomId;
|
||||
[recentsViewController selectRoomWithId:roomId inMatrixSession:nil]; // TODO a matrix session is required here
|
||||
});
|
||||
}
|
||||
|
||||
@@ -256,7 +256,7 @@
|
||||
if (recentsViewController) {
|
||||
[recentsNavigationController popToViewController:recentsViewController animated:animated];
|
||||
// Release the current selected room
|
||||
recentsViewController.selectedRoomId = nil;
|
||||
[recentsViewController closeSelectedRoom];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user