mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 22:26: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:
@@ -33,10 +33,13 @@
|
||||
|
||||
- (instancetype)initWithRoomDataSource:(MXKRoomDataSource *)roomDataSource2
|
||||
{
|
||||
self = [super initWithRoomId:roomDataSource2.roomId andMatrixSession:roomDataSource2.mxSession];
|
||||
self = [super initWithMatrixSession:roomDataSource2.mxSession];
|
||||
if (self)
|
||||
{
|
||||
roomDataSource = roomDataSource2;
|
||||
|
||||
// The messages search is limited to the room data.
|
||||
self.roomEventFilter.rooms = @[roomDataSource.roomId];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user