From 35d68c618032424c2a42b1cb2c27a0ddfdc6590f Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Fri, 16 Jun 2017 02:16:26 -0400 Subject: [PATCH] Fix "writes on long-lived read connection" issue. // FREEBIE --- .../ViewControllers/ConversationView/MessagesViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Signal/src/ViewControllers/ConversationView/MessagesViewController.m b/Signal/src/ViewControllers/ConversationView/MessagesViewController.m index 4f9f482b7..5c3ef30ef 100644 --- a/Signal/src/ViewControllers/ConversationView/MessagesViewController.m +++ b/Signal/src/ViewControllers/ConversationView/MessagesViewController.m @@ -2663,7 +2663,7 @@ typedef enum : NSUInteger { [ThreadUtil ensureDynamicInteractionsForThread:self.thread contactsManager:self.contactsManager blockingManager:self.blockingManager - dbConnection:self.uiDatabaseConnection + dbConnection:self.editingDatabaseConnection hideUnreadMessagesIndicator:self.hasClearedUnreadMessagesIndicator firstUnseenInteractionTimestamp:self.dynamicInteractions.firstUnseenInteractionTimestamp maxRangeSize:maxRangeSize];