mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Merge pull request #5679 from vector-im/doug/5672_unified_search_room_directory
Revert change to UnifiedSearchRecentsDataSource
This commit is contained in:
commit
f60d7d51c3
2 changed files with 13 additions and 0 deletions
|
@ -35,6 +35,18 @@
|
|||
|
||||
@implementation UnifiedSearchRecentsDataSource
|
||||
|
||||
- (instancetype)initWithMatrixSession:(MXSession *)mxSession recentsListService:(id<RecentsListServiceProtocol>)recentsListService
|
||||
{
|
||||
self = [super initWithMatrixSession:mxSession recentsListService:recentsListService];
|
||||
if (self)
|
||||
{
|
||||
searchedRoomIdOrAliasSection = -1;
|
||||
|
||||
_hideRecents = NO;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
- (void)setPublicRoomsDirectoryDataSource:(PublicRoomsDirectoryDataSource *)publicRoomsDirectoryDataSource
|
||||
|
|
1
changelog.d/5672.bugfix
Normal file
1
changelog.d/5672.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Unified Search: Fix a bug where the room directory wasn't working.
|
Loading…
Reference in a new issue