Multi-sessions handling: Restore automatic room opening

This commit is contained in:
giomfo
2015-05-28 19:20:18 +02:00
parent f9ff8e8eda
commit dd525d9053
6 changed files with 136 additions and 150 deletions
@@ -189,7 +189,7 @@
if (roomAlias.length) {
[self.mainSession joinRoom:roomAlias success:^(MXRoom *room) {
// Show the room
[[AppDelegate theDelegate].masterTabBarController showRoom:room.state.roomId];
[[AppDelegate theDelegate].masterTabBarController showRoom:room.state.roomId withMatrixSession:self.mainSession];
} failure:^(NSError *error) {
NSLog(@"[Console RoomVC] Join roomAlias (%@) failed: %@", roomAlias, error);
//Alert user