mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
0cd8453b00
commit
37b8551760
1 changed files with 2 additions and 1 deletions
|
@ -399,7 +399,8 @@ auto ApiWrap::fileRequest(const Data::FileLocation &location, int offset) {
|
||||||
MTP_int(0),
|
MTP_int(0),
|
||||||
MTP_bytes()));
|
MTP_bytes()));
|
||||||
} else if (result.type() == qstr("LOCATION_INVALID")
|
} else if (result.type() == qstr("LOCATION_INVALID")
|
||||||
|| result.type() == qstr("VERSION_INVALID")) {
|
|| result.type() == qstr("VERSION_INVALID")
|
||||||
|
|| result.type() == qstr("LOCATION_NOT_AVAILABLE")) {
|
||||||
filePartUnavailable();
|
filePartUnavailable();
|
||||||
} else if (result.code() == 400
|
} else if (result.code() == 400
|
||||||
&& result.type().startsWith(qstr("FILE_REFERENCE_"))) {
|
&& result.type().startsWith(qstr("FILE_REFERENCE_"))) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue