Temporarily disable new pings.
GitOrigin-RevId: ac3d2580d2dd77b333fee51db59f54b92bf24484
This commit is contained in:
parent
7d7e8704ea
commit
0c3e3906c7
@ -894,7 +894,7 @@ void Session::connection_open(ConnectionInfo *info, bool ask_info) {
|
|||||||
VLOG(dc) << "Request new connection";
|
VLOG(dc) << "Request new connection";
|
||||||
unique_ptr<mtproto::AuthData> auth_data;
|
unique_ptr<mtproto::AuthData> auth_data;
|
||||||
if (auth_data_.use_pfs() && auth_data_.has_auth_key(Time::now())) {
|
if (auth_data_.use_pfs() && auth_data_.has_auth_key(Time::now())) {
|
||||||
auth_data = make_unique<mtproto::AuthData>(auth_data_);
|
// auth_data = make_unique<mtproto::AuthData>(auth_data_);
|
||||||
}
|
}
|
||||||
callback_->request_raw_connection(std::move(auth_data), std::move(promise));
|
callback_->request_raw_connection(std::move(auth_data), std::move(promise));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user