Avoid stale mapping in conversation view.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent d4a6a35ee3
commit f6f08891eb

@ -2698,6 +2698,8 @@ typedef enum : NSUInteger {
const int currentMaxRangeSize = (int)(self.page + 1) * kYapDatabasePageSize;
const int maxRangeSize = MAX(initialMaxRangeSize, currentMaxRangeSize);
// `ensureDynamicInteractionsForThread` should operate on the latest thread contents, so
// we should _read_ from uiDatabaseConnection and _write_ to `editingDatabaseConnection`.
self.dynamicInteractions =
[ThreadUtil ensureDynamicInteractionsForThread:self.thread
contactsManager:self.contactsManager

Loading…
Cancel
Save