Ignore BOT_METHOD_INVALID for getAppConfig.

GitOrigin-RevId: 953c9c9c20b31cb7118233db82d146e4ee384a6f
This commit is contained in:
levlam 2020-01-05 04:22:03 +03:00
parent c33848b6b7
commit c25a346f54

View File

@ -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);
}
}