Skip to content

Commit

Permalink
Merge pull request #5679 from vector-im/doug/5672_unified_search_room…
Browse files Browse the repository at this point in the history
…_directory

Revert change to UnifiedSearchRecentsDataSource
  • Loading branch information
pixlwave authored Feb 23, 2022
2 parents b598508 + c1dcb2b commit f60d7d5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ @interface UnifiedSearchRecentsDataSource()

@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
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5672.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Unified Search: Fix a bug where the room directory wasn't working.

0 comments on commit f60d7d5

Please sign in to comment.