2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Update API scheme to layer 114.

This commit is contained in:
John Preston
2020-05-19 10:34:10 +04:00
parent a27aea3887
commit 33c1c48ad9
4 changed files with 10 additions and 2 deletions

View File

@@ -909,6 +909,7 @@ void FileLoadTask::process() {
MTP_string(filemime),
MTP_int(filesize),
MTP_vector<MTPPhotoSize>(1, thumbnail.mtpSize),
MTPVector<MTPVideoSize>(),
MTP_int(MTP::maindc()),
MTP_vector<MTPDocumentAttribute>(attributes));
} else if (_type != SendMediaType::Photo) {
@@ -921,6 +922,7 @@ void FileLoadTask::process() {
MTP_string(filemime),
MTP_int(filesize),
MTP_vector<MTPPhotoSize>(1, thumbnail.mtpSize),
MTPVector<MTPVideoSize>(),
MTP_int(MTP::maindc()),
MTP_vector<MTPDocumentAttribute>(attributes));
_type = SendMediaType::File;