mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 02:22:44 +02:00
PublicRoomsDirectoryDataSource: Fix search when NSFW filter is off.
This commit is contained in:
@@ -261,7 +261,7 @@ static NSString *const kNSFWKeyword = @"nsfw";
|
||||
[self->rooms addObjectsFromArray:publicRooms];
|
||||
self->nextBatch = publicRoomsResponse.nextBatch;
|
||||
|
||||
if (!self->_searchPattern || !self.showNSFWRooms)
|
||||
if (!self->_searchPattern)
|
||||
{
|
||||
// When there is no search, we can use totalRoomCountEstimate returned by the server
|
||||
self->_roomsCount = publicRoomsResponse.totalRoomCountEstimate;
|
||||
|
||||
Reference in New Issue
Block a user