Fixed applying server messages as scheduled.

Fixed #16726 and many other problems.
This commit is contained in:
23rd 2021-08-01 17:01:06 +03:00 committed by John Preston
parent 5bd73bab9b
commit 6f80811ecd
1 changed files with 1 additions and 0 deletions

View File

@ -1059,6 +1059,7 @@ MessageFlags FlagsFromMTP(MTPDmessage::Flags flags) {
| ((flags & MTP::f_via_bot_id) ? Flag::HasViaBot : Flag())
| ((flags & MTP::f_reply_to) ? Flag::HasReplyInfo : Flag())
| ((flags & MTP::f_reply_markup) ? Flag::HasReplyMarkup : Flag())
| ((flags & MTP::f_from_scheduled) ? Flag::IsOrWasScheduled : Flag())
| ((flags & MTP::f_views) ? Flag::HasViews : Flag());
}