From 8dd4358ad9b8b32dc611765078c3277738d2d7a2 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 31 Mar 2020 00:55:00 +0300 Subject: [PATCH] Improve comment message. GitOrigin-RevId: 037a91723ebf80ce0540b2872cf7470858cb2708 --- td/telegram/SecretChatActor.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/td/telegram/SecretChatActor.cpp b/td/telegram/SecretChatActor.cpp index 2bf13ca90..1017d26bf 100644 --- a/td/telegram/SecretChatActor.cpp +++ b/td/telegram/SecretChatActor.cpp @@ -894,9 +894,8 @@ Status SecretChatActor::do_inbound_message_encrypted(unique_ptrlayer_; - if (layer < DEFAULT_LAYER && false /*TODO: fix android app bug? */) { - LOG(ERROR) << "All or nothing, " << tag("layer", layer) << " is not supported, drop message " - << to_string(message_with_layer); + if (layer < DEFAULT_LAYER && false /* Android app can send such messages */) { + LOG(ERROR) << "Layer " << layer << " is not supported, drop message " << to_string(message_with_layer); return Status::OK(); } if (config_state_.his_layer < layer) { @@ -916,7 +915,7 @@ Status SecretChatActor::do_inbound_message_encrypted(unique_ptr(data_buffer.as_slice())); } } else { - status = Status::Error(PSLICE() << "Unknown constructor " << tag("ID", format::as_hex(id))); + status = Status::Error(PSLICE() << "Unknown constructor " << format::as_hex(id)); } // support for older layer