mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
@@ -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_"))) {
|
||||||
|
Reference in New Issue
Block a user