Add a selectRoomWithId:andEventId:inMatrixSession: method with completion block on MasterTabController.

This commit is contained in:
SBiOSoftWhare
2018-08-27 17:14:28 +02:00
parent 9b50832b8c
commit 5b22c46f41
2 changed files with 30 additions and 2 deletions
@@ -72,6 +72,16 @@
*/
- (void)selectRoomWithId:(NSString*)roomId andEventId:(NSString*)eventId inMatrixSession:(MXSession*)mxSession;
/**
Open the room with the provided identifier in a specific matrix session.
@param roomId the room identifier.
@param eventId if not nil, the room will be opened on this event.
@param mxSession the matrix session in which the room should be available.
@param completion the block to execute at the end of the operation.
*/
- (void)selectRoomWithId:(NSString*)roomId andEventId:(NSString*)eventId inMatrixSession:(MXSession*)matrixSession completion:(void (^)(void))completion;
/**
Open the RoomViewController to display the preview of a room that is unknown for the user.