Fix section index for rooms page

This commit is contained in:
ismailgulek
2022-04-29 10:31:49 +03:00
parent 4ff2b008de
commit 36a3ce2b0f
+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]];
}
}