mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +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_bytes()));
|
||||
} else if (result.type() == qstr("LOCATION_INVALID")
|
||||
|| result.type() == qstr("VERSION_INVALID")) {
|
||||
|| result.type() == qstr("VERSION_INVALID")
|
||||
|| result.type() == qstr("LOCATION_NOT_AVAILABLE")) {
|
||||
filePartUnavailable();
|
||||
} else if (result.code() == 400
|
||||
&& result.type().startsWith(qstr("FILE_REFERENCE_"))) {
|
||||
|
|
Loading…
Add table
Reference in a new issue