2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added ability to edit media in scheduled messages.

This commit is contained in:
23rd
2020-05-30 11:47:32 +03:00
parent b02b690747
commit 5c097887ef
9 changed files with 73 additions and 19 deletions

View File

@@ -497,7 +497,8 @@ FileLoadTask::FileLoadTask(
, _type(type)
, _caption(caption)
, _msgIdToEdit(msgIdToEdit) {
Expects(_msgIdToEdit == 0 || IsServerMsgId(_msgIdToEdit));
Expects(to.options.scheduled
|| (_msgIdToEdit == 0 || IsServerMsgId(_msgIdToEdit)));
}
FileLoadTask::FileLoadTask(