2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Update API scheme to layer 82.

This commit is contained in:
John Preston
2018-06-26 14:58:29 +01:00
parent 941288b58e
commit ff53404d5b
20 changed files with 129 additions and 50 deletions

View File

@@ -1320,7 +1320,7 @@ Image *getImage(const MTPDwebDocument &document) {
auto filesize = 0; // document.vsize.v;
return getImage(
WebFileLocation(
document.vdc_id.v,
Global::WebFileDcId(),
document.vurl.v,
document.vaccess_hash.v),
size.width(),
@@ -1348,7 +1348,7 @@ Image *getImage(const MTPDwebDocument &document, QSize box) {
auto filesize = 0; // document.vsize.v;
return getImage(
WebFileLocation(
document.vdc_id.v,
Global::WebFileDcId(),
document.vurl.v,
document.vaccess_hash.v),
box,