From 076291b98f2f013f4aa5ffad46a554446a8347ef Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 31 Oct 2023 10:53:13 +0400 Subject: [PATCH] Fix reply invalidation on message removal. --- Telegram/SourceFiles/history/history_item_components.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/history/history_item_components.cpp b/Telegram/SourceFiles/history/history_item_components.cpp index 006bbced4..9ee8f0944 100644 --- a/Telegram/SourceFiles/history/history_item_components.cpp +++ b/Telegram/SourceFiles/history/history_item_components.cpp @@ -660,6 +660,8 @@ void HistoryMessageReply::clearData(not_null holder) { resolvedStory.get()); resolvedStory = nullptr; } + _name.clear(); + _text.clear(); _unavailable = 1; refreshReplyToMedia(); }