mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
Rename dataSource2 parameters and handle target profiles
This commit is contained in:
committed by
aringenbach
parent
d4418d335d
commit
4eafe7fd9a
@@ -33,12 +33,12 @@
|
||||
|
||||
@implementation RoomSearchDataSource
|
||||
|
||||
- (instancetype)initWithRoomDataSource:(MXKRoomDataSource *)roomDataSource2
|
||||
- (instancetype)initWithRoomDataSource:(MXKRoomDataSource *)roomDataSource
|
||||
{
|
||||
self = [super initWithMatrixSession:roomDataSource2.mxSession];
|
||||
self = [super initWithMatrixSession:roomDataSource.mxSession];
|
||||
if (self)
|
||||
{
|
||||
roomDataSource = roomDataSource2;
|
||||
self->roomDataSource = roomDataSource;
|
||||
|
||||
// The messages search is limited to the room data.
|
||||
self.roomEventFilter.rooms = @[roomDataSource.roomId];
|
||||
|
||||
Reference in New Issue
Block a user