mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user