diff --git a/td/telegram/net/ConnectionCreator.cpp b/td/telegram/net/ConnectionCreator.cpp index b07af293e..caf79976b 100644 --- a/td/telegram/net/ConnectionCreator.cpp +++ b/td/telegram/net/ConnectionCreator.cpp @@ -1286,6 +1286,7 @@ void ConnectionCreator::on_result(NetQueryPtr query) { } if (res.error().message() == "BOT_METHOD_INVALID") { get_proxy_info_timestamp_ = Timestamp::in(30 * 86400); + return; } else { LOG(ERROR) << "Receive error for getProxyData: " << res.error(); return schedule_get_proxy_info(60);