RoomSearchDataSource: Remove the matrix session from the parameters in initWithRoomDataSource API.

Use the matrix session of the provided room data source.
This commit is contained in:
giomfo
2016-09-29 11:47:02 +02:00
parent 9ab30c8487
commit b3b484b83c
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -26,9 +26,8 @@
Initialize a new `RoomSearchDataSource` instance.
@param roomDataSource a datasource to be able to reuse `RoomViewController` processing and rendering.
@param mxSession the Matrix session to get data from.
@return the newly created instance.
*/
- (instancetype)initWithRoomDataSource:(MXKRoomDataSource *)roomDataSource andMatrixSession:(MXSession *)mxSession;
- (instancetype)initWithRoomDataSource:(MXKRoomDataSource *)roomDataSource;
@end