2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 14:08:41 +00:00

Fix reply invalidation on message removal.

This commit is contained in:
John Preston
2023-10-31 10:53:13 +04:00
parent 1341907cfd
commit 076291b98f

View File

@@ -660,6 +660,8 @@ void HistoryMessageReply::clearData(not_null<HistoryItem*> holder) {
resolvedStory.get());
resolvedStory = nullptr;
}
_name.clear();
_text.clear();
_unavailable = 1;
refreshReplyToMedia();
}