From b27dc4ef8d2dc6d0ad03470389c38fbbbd9611e3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 23 Jul 2021 21:41:43 +0300 Subject: [PATCH] Fix crash in messages animation. --- Telegram/SourceFiles/history/history_widget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index cf0f7f510..8925958e8 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -1916,6 +1916,8 @@ void HistoryWidget::showHistory( noSelectingScroll(); _nonEmptySelection = false; _itemRevealPending.clear(); + _itemRevealAnimations.clear(); + _itemsRevealHeight = 0; if (_peer) { _history = _peer->owner().history(_peer);