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

Update API scheme on layer 160: Duration.

This commit is contained in:
John Preston
2023-06-05 16:50:43 +04:00
parent b71d72ca7c
commit aba84a6010
23 changed files with 88 additions and 87 deletions

View File

@@ -868,7 +868,7 @@ void FileLoadTask::process(Args &&args) {
}
attributes.push_back(MTP_documentAttributeVideo(
MTP_flags(flags),
MTP_int(video->duration),
MTP_double(video->duration / 1000.),
MTP_int(coverWidth),
MTP_int(coverHeight),
MTPint())); // preload_prefix_size