From 15a11d70532ea31d91bf644b44fadae22585db2e Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 21 May 2022 23:07:28 +0300 Subject: [PATCH] Move expected logging about secret chat updates to INFO. --- td/telegram/SecretChatActor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/td/telegram/SecretChatActor.cpp b/td/telegram/SecretChatActor.cpp index 2d70b3195..2b4ab2bd0 100644 --- a/td/telegram/SecretChatActor.cpp +++ b/td/telegram/SecretChatActor.cpp @@ -1773,7 +1773,7 @@ Status SecretChatActor::save_common_info(T &update) { Status SecretChatActor::on_update_chat(telegram_api::encryptedChatRequested &update) { if (auth_state_.state != State::Empty) { - LOG(WARNING) << "Unexpected ChatRequested ignored: " << to_string(update); + LOG(INFO) << "Unexpected encryptedChatRequested ignored: " << to_string(update); return Status::OK(); } auth_state_.state = State::SendAccept; @@ -1794,7 +1794,7 @@ Status SecretChatActor::on_update_chat(telegram_api::encryptedChatEmpty &update) } Status SecretChatActor::on_update_chat(telegram_api::encryptedChatWaiting &update) { if (auth_state_.state != State::WaitRequestResponse && auth_state_.state != State::WaitAcceptResponse) { - LOG(WARNING) << "Unexpected ChatWaiting ignored"; + LOG(INFO) << "Unexpected encryptedChatWaiting ignored"; return Status::OK(); } TRY_STATUS(save_common_info(update)); @@ -1803,7 +1803,7 @@ Status SecretChatActor::on_update_chat(telegram_api::encryptedChatWaiting &updat } Status SecretChatActor::on_update_chat(telegram_api::encryptedChat &update) { if (auth_state_.state != State::WaitRequestResponse && auth_state_.state != State::WaitAcceptResponse) { - LOG(WARNING) << "Unexpected Chat ignored"; + LOG(INFO) << "Unexpected encryptedChat ignored"; return Status::OK(); } TRY_STATUS(save_common_info(update));