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
1 changed files with 2 additions and 0 deletions

View File

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