Temporarily disable new pings.

GitOrigin-RevId: ac3d2580d2dd77b333fee51db59f54b92bf24484
This commit is contained in:
levlam 2019-06-27 18:46:25 +03:00
parent 7d7e8704ea
commit 0c3e3906c7

View File

@ -894,7 +894,7 @@ void Session::connection_open(ConnectionInfo *info, bool ask_info) {
VLOG(dc) << "Request new connection";
unique_ptr<mtproto::AuthData> auth_data;
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));
}