Merge pull request #696 from vector-im/vector_652

Bug Fix - Use contains_url filter for navigating files and showing a …
This commit is contained in:
giomfo
2016-10-06 13:44:57 +02:00
committed by GitHub
13 changed files with 647 additions and 161 deletions
+1 -1
View File
@@ -288,7 +288,7 @@
// Init the search for messages
filesSearchDataSource = [[MXKSearchDataSource alloc] initWithMatrixSession:mainSession];
filesSearchDataSource.containsURL = YES;
filesSearchDataSource.roomEventFilter.containsURL = YES;
filesSearchDataSource.shouldShowRoomDisplayName = YES;
[filesSearchDataSource registerCellDataClass:FilesSearchCellData.class forCellIdentifier:kMXKSearchCellDataIdentifier];
[filesSearchViewController displaySearch:filesSearchDataSource];