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:
giomfo
2015-05-21 19:06:34 +02:00
parent ec432e7939
commit a616b81742
3 changed files with 51 additions and 20 deletions
@@ -18,7 +18,18 @@
@interface RecentsViewController : MXKRecentListViewController <MXKRecentListViewControllerDelegate, UISearchBarDelegate>
@property (strong, nonatomic) NSString *selectedRoomId; // set a non-nil value to this property will open room details
/**
Open the room with the provided identifier in a specific matrix session.
@param roomId the room identifier.
@param mxSession the matrix session in which the room should be available.
*/
- (void)selectRoomWithId:(NSString*)roomId inMatrixSession:(MXSession*)mxSession;
/**
Close the current selected room (if any)
*/
- (void)closeSelectedRoom;
@end