no message

This commit is contained in:
overtake 2020-04-05 20:44:28 +04:00
parent 49f82c3242
commit e42291ed43

View File

@ -865,7 +865,7 @@ private final class ChatListViewSpaceState {
}
}
if insertionIndex == self.orderedEntries.higherThanAnchor.count - 1 {
if insertionIndex == self.orderedEntries.higherThanAnchor.count {
return false
}
self.orderedEntries.insertHigherThanAnchorAtArrayIndex(insertionIndex, value: entry)