From 8d32e088ab7fd644dd962dca9d2800bd42be0916 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sun, 5 Apr 2020 20:39:08 +0400 Subject: [PATCH] Request chat list fill on a failed add --- submodules/Postbox/Sources/ChatListViewState.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/submodules/Postbox/Sources/ChatListViewState.swift b/submodules/Postbox/Sources/ChatListViewState.swift index 2940f0ea36..5772d42d35 100644 --- a/submodules/Postbox/Sources/ChatListViewState.swift +++ b/submodules/Postbox/Sources/ChatListViewState.swift @@ -381,6 +381,9 @@ private final class ChatListViewSpaceState { } if self.add(entry: .IntermediateMessageEntry(index: updatedIndex, messageIndex: messageIndex)) { hasUpdates = true + } else { + hasUpdates = true + hadRemovals = true } case let .peers(peerIds, asPinned): if let peerIndex = peerIds.firstIndex(of: index.messageIndex.id.peerId) {