Fix section index for rooms page

This commit is contained in:
ismailgulek
2022-04-29 10:31:49 +03:00
parent 4a6844e559
commit d01b4fa899
+1 -1
View File
@@ -139,7 +139,7 @@
// Check whether the recents data source is correctly configured.
if (recentsDataSource.recentsDataSourceMode == RecentsDataSourceModeRooms)
{
[self scrollToTheTopTheNextRoomWithMissedNotificationsInSection:[recentsDataSource.sections sectionTypeForSectionIndex:RecentsDataSourceSectionTypeConversation]];
[self scrollToTheTopTheNextRoomWithMissedNotificationsInSection:[recentsDataSource.sections sectionIndexForSectionType:RecentsDataSourceSectionTypeConversation]];
}
}