From 2ab9393a1d0c93f1397a6d769450d72e6e7a68fd Mon Sep 17 00:00:00 2001 From: Arseny Smirnov Date: Tue, 4 Jun 2019 18:52:26 +0300 Subject: [PATCH] PingConnectionPingPong: bugfix GitOrigin-RevId: 8280963e1bb8e817d9502cbaeecf89064a7c8f2c --- td/mtproto/PingConnection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/td/mtproto/PingConnection.cpp b/td/mtproto/PingConnection.cpp index 407b162f..ae126b5a 100644 --- a/td/mtproto/PingConnection.cpp +++ b/td/mtproto/PingConnection.cpp @@ -93,6 +93,7 @@ class PingConnectionPingPong PingConnectionPingPong(unique_ptr raw_connection, unique_ptr auth_data) : auth_data_(std::move(auth_data)) { auth_data_->set_header(""); + auth_data_->clear_seq_no(); connection_ = make_unique(SessionConnection::Mode::Tcp, std::move(raw_connection), auth_data_.get()); }