Merge pull request #5679 from vector-im/doug/5672_unified_search_room_directory

Revert change to UnifiedSearchRecentsDataSource
This commit is contained in:
Doug 2022-02-23 12:27:51 +00:00 committed by GitHub
commit f60d7d51c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1 @@
Unified Search: Fix a bug where the room directory wasn't working.