diff --git a/Signal/src/ViewControllers/ConversationView/MessagesViewController.m b/Signal/src/ViewControllers/ConversationView/MessagesViewController.m index a6e033b18..192137761 100644 --- a/Signal/src/ViewControllers/ConversationView/MessagesViewController.m +++ b/Signal/src/ViewControllers/ConversationView/MessagesViewController.m @@ -488,6 +488,8 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) { [self.uiDatabaseConnection beginLongLivedReadTransaction]; + // We need to update the "unread indicator" _before_ we determine the initial range + // size, since it depends on where the unread indicator is placed. self.page = 0; [self ensureDynamicInteractions];