From 1ff4f85247b6a49315c8813ff7ce8aa2aa96b672 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 21 Feb 2018 19:46:07 -0500 Subject: [PATCH] Improve handling of db modifications while conversation view is not observing. --- .../ConversationView/ConversationViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m index f50d935e9..0bc959291 100644 --- a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m +++ b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m @@ -4160,7 +4160,7 @@ typedef enum : NSUInteger { // any new items inserted while we were not observing. We therefore find the // first item which was previously unread and center it in the view. We don't // want to make any assumptions, so we select the item to center on based on - // "previous unread timestamp" rather than a specific + // "previous unread timestamp" rather than a specific interaction. ConversationViewItem *_Nullable lastViewItem = self.viewItems.lastObject; BOOL hasAddedNewItems = (lastViewItem && previousLastTimestamp &&