From 224b560c830433aa315801272b47ea852f395a95 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 29 Mar 2021 21:26:31 +0300 Subject: [PATCH] Improve error message on access to a closed secret chat. --- td/telegram/SecretChatActor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/SecretChatActor.cpp b/td/telegram/SecretChatActor.cpp index 00c92e66d..048bc1669 100644 --- a/td/telegram/SecretChatActor.cpp +++ b/td/telegram/SecretChatActor.cpp @@ -1963,7 +1963,7 @@ void SecretChatActor::start_up() { auth_state_ = r_auth_state.move_as_ok(); } if (!can_be_empty_ && auth_state_.state == State::Empty) { - LOG(WARNING) << "Close Secret chat because it is empty"; + LOG(INFO) << "Skip creation of empty secret chat " << auth_state_.id; return stop(); } if (auth_state_.state == State::Closed) {