Fix chat list view reload

This commit is contained in:
Ali 2019-11-02 23:03:37 +04:00
parent a23934a51d
commit e0d3e477c5

View File

@ -402,7 +402,7 @@ final class MutableChatListView {
index = self.entries[self.entries.count / 2].index
}
let (entries, earlier, later) = postbox.fetchAroundChatEntries(groupId: self.groupId, index: index, count: self.entries.count)
let (entries, earlier, later) = postbox.fetchAroundChatEntries(groupId: self.groupId, index: index, count: self.count)
let currentGroupEntries = self.groupEntries
self.reloadGroups(postbox: postbox)