mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
Bug Fix - Use contains_url filter for navigating files and showing a file index for a room
#652 Support file search at room level.
This commit is contained in:
@@ -283,7 +283,7 @@
|
||||
|
||||
// Init the search for messages
|
||||
filesSearchDataSource = [[MXKSearchDataSource alloc] initWithMatrixSession:mainSession];
|
||||
filesSearchDataSource.containsURL = YES;
|
||||
filesSearchDataSource.mediaFilter = MXMessagesSearchMediaFilterLimitedToAttachments;
|
||||
filesSearchDataSource.shouldShowRoomDisplayName = YES;
|
||||
[filesSearchDataSource registerCellDataClass:FilesSearchCellData.class forCellIdentifier:kMXKSearchCellDataIdentifier];
|
||||
[filesSearchViewController displaySearch:filesSearchDataSource];
|
||||
|
||||
Reference in New Issue
Block a user