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 -1
View File
@@ -2037,7 +2037,7 @@
RoomSearchViewController* roomSearchViewController = (RoomSearchViewController*)pushedViewController;
RoomSearchDataSource *roomSearchDataSource = [[RoomSearchDataSource alloc] initWithRoomDataSource:self.roomDataSource andMatrixSession:self.mainSession];
RoomSearchDataSource *roomSearchDataSource = [[RoomSearchDataSource alloc] initWithRoomDataSource:self.roomDataSource];
[roomSearchViewController displaySearch:roomSearchDataSource];
}
else if ([[segue identifier] isEqualToString:@"showMemberDetails"])