Fix add_local_message.

This commit is contained in:
levlam 2022-12-06 19:32:02 +03:00
parent 05ad0474bf
commit 294c99248e

View File

@ -29824,7 +29824,7 @@ Result<MessageId> MessagesManager::add_local_message(
}
}
if (m->clear_draft) {
if (result->clear_draft) {
update_dialog_draft_message(d, nullptr, false, !need_update_dialog_pos);
}