Message history animation fix

This commit is contained in:
Ali
2020-07-17 21:25:20 +04:00
parent af4a143387
commit 7fc078d315
7 changed files with 165 additions and 22 deletions

View File

@@ -1111,13 +1111,13 @@ public final class AccountViewTracker {
let combinedDisposable = MetaDisposable()
self.queue.async {
var addHole = false
/*if let context = self.channelPollingContexts[peerId] {
if let context = self.channelPollingContexts[peerId] {
if context.subscribers.isEmpty {
addHole = true
}
} else {
addHole = true
}*/
}
if addHole {
let _ = self.account?.postbox.transaction({ transaction -> Void in
if transaction.getPeerChatListIndex(peerId) == nil {