diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index e067d851aa..b992a7f6c9 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -1431,12 +1431,18 @@ void HistoryItem::applyEdition(const MTPDmessageService &message) { if (wasGrouped) { history()->owner().groups().unregisterMessage(this); } + if (const auto reply = Get()) { + reply->clearData(this); + } clearDependencyMessage(); UpdateComponents(0); createServiceFromMtp(message); applyServiceDateEdition(message); finishEditionToEmpty(); } else if (isService()) { + if (const auto reply = Get()) { + reply->clearData(this); + } clearDependencyMessage(); UpdateComponents(0); createServiceFromMtp(message);