Change reply-in-chat locally.

This commit is contained in:
John Preston 2024-01-19 16:24:50 +04:00
parent 02a306ba70
commit 5a47acf1d2
1 changed files with 4 additions and 0 deletions

View File

@ -1942,6 +1942,10 @@ bool HistoryWidget::applyDraft(FieldHistoryAction fieldHistoryAction) {
} else if (!readyToForward()) {
const auto draft = _history->localDraft({});
_processingReplyTo = draft ? draft->reply : FullReplyTo();
if (_processingReplyTo) {
_processingReplyItem = session().data().message(
_processingReplyTo.messageId);
}
processReply();
}