mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fixed work with _msgIdToEdit in FileLoadTask.
- Added check is allowed media editing in paintEvent. - Fixes #5885.
This commit is contained in:
@@ -539,6 +539,7 @@ FileLoadTask::FileLoadTask(
|
||||
, _type(type)
|
||||
, _caption(caption)
|
||||
, _msgIdToEdit(msgIdToEdit) {
|
||||
Expects(_msgIdToEdit == 0 || IsServerMsgId(_msgIdToEdit));
|
||||
}
|
||||
|
||||
FileLoadTask::FileLoadTask(
|
||||
|
Reference in New Issue
Block a user