Ignore BOT_METHOD_INVALID for getAppConfig.
GitOrigin-RevId: 953c9c9c20b31cb7118233db82d146e4ee384a6f
This commit is contained in:
parent
c33848b6b7
commit
c25a346f54
@ -54,7 +54,8 @@ void NetQuery::set_error(Status status, string source) {
|
||||
}
|
||||
if (status.message() == "BOT_METHOD_INVALID") {
|
||||
auto id = tl_constructor();
|
||||
if (id != telegram_api::help_getNearestDc::ID && id != telegram_api::help_getProxyData::ID) {
|
||||
if (id != telegram_api::help_getNearestDc::ID && id != telegram_api::help_getProxyData::ID &&
|
||||
id != telegram_api::help_getAppConfig::ID) {
|
||||
LOG(ERROR) << "Receive BOT_METHOD_INVALID for query " << format::as_hex(id);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user