Don't include directorySection in RecentsDataSource when in RecentsDataSourceModeRooms mode.

This commit is contained in:
Doug
2021-07-07 11:48:23 +01:00
parent 104fc26423
commit 542533aa1b
2 changed files with 1 additions and 8 deletions

View File

@@ -483,13 +483,6 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
conversationSection = sectionsCount++;
}
if (_recentsDataSourceMode == RecentsDataSourceModeRooms
&& BuildSettings.publicRoomsShowDirectory)
{
// Add the directory section after "ROOMS"
directorySection = sectionsCount++;
}
if (self.lowPriorityCellDataArray.count > 0)
{
lowPrioritySection = sectionsCount++;