Remove ConnectingToProxy state for MTProto-proxy.
GitOrigin-RevId: 21950ac6b0fc00f2b599ae158bb1b4414788d5c6
This commit is contained in:
parent
89d3b57265
commit
d763c755e1
@ -509,7 +509,8 @@ void ConnectionCreator::disable_proxy_impl() {
|
||||
}
|
||||
|
||||
void ConnectionCreator::on_proxy_changed(bool from_db) {
|
||||
send_closure(G()->state_manager(), &StateManager::on_proxy, active_proxy_id_ != 0);
|
||||
send_closure(G()->state_manager(), &StateManager::on_proxy,
|
||||
active_proxy_id_ != 0 && proxies_[active_proxy_id_].type() == Proxy::Type::Socks5);
|
||||
|
||||
if (!from_db) {
|
||||
for (auto &child : children_) {
|
||||
|
Reference in New Issue
Block a user