Log original decrypted message version without local replacements.
This commit is contained in:
parent
d2c6e7726f
commit
5b089ee762
@ -950,6 +950,9 @@ Status SecretChatActor::do_inbound_message_decrypted_unchecked(unique_ptr<log_ev
|
||||
return status;
|
||||
}
|
||||
|
||||
LOG(INFO) << "Receive message encrypted with MTProto " << mtproto_version << ": "
|
||||
<< to_string(message->decrypted_message_layer);
|
||||
|
||||
if (message->decrypted_message_layer->message_->get_id() == secret_api::decryptedMessageService8::ID) {
|
||||
auto old = move_tl_object_as<secret_api::decryptedMessageService8>(message->decrypted_message_layer->message_);
|
||||
message->decrypted_message_layer->message_ =
|
||||
@ -985,9 +988,6 @@ Status SecretChatActor::do_inbound_message_decrypted_unchecked(unique_ptr<log_ev
|
||||
}
|
||||
}
|
||||
|
||||
LOG(INFO) << "Receive message encrypted with MTProto " << mtproto_version << ": "
|
||||
<< to_string(message->decrypted_message_layer);
|
||||
|
||||
if (status.is_error()) {
|
||||
CHECK(status.code() == 2); // gap found
|
||||
do_inbound_message_decrypted_pending(std::move(message));
|
||||
|
Loading…
Reference in New Issue
Block a user