Fix loading history when top message is deleted

This commit is contained in:
Eduard Kuzmenko 2022-02-15 16:37:27 +04:00
parent 85423a9f76
commit 18b824d234

View File

@ -88,7 +88,7 @@ export default class SlicedArray {
} }
unsetEnd(side: SliceEnd) { unsetEnd(side: SliceEnd) {
this.end ^= side; this.end &= ~side;
} }
splice(start: number, deleteCount: number, ...items: ItemType[]) { splice(start: number, deleteCount: number, ...items: ItemType[]) {