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 eba836269b
commit 1123d356b7
2 changed files with 1 additions and 8 deletions
@@ -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++;