diff --git a/td/telegram/SecretChatActor.cpp b/td/telegram/SecretChatActor.cpp index e5c4c530e..f6f233f3a 100644 --- a/td/telegram/SecretChatActor.cpp +++ b/td/telegram/SecretChatActor.cpp @@ -1082,7 +1082,7 @@ void SecretChatActor::do_outbound_message_impl(unique_ptron_flush_history(MessageId(ServerMessageId(message->message_id)), std::move(save_message_finish)); break; case secret_api::decryptedMessageActionReadMessages::ID: { - const auto &random_ids = static_cast(*action).random_ids_; + const auto &random_ids = + static_cast(*action).random_ids_; if (random_ids.size() == 1) { context_->on_read_message(random_ids[0], std::move(save_message_finish)); } else { // probably never happens @@ -1525,7 +1526,7 @@ void SecretChatActor::outbound_resend(uint64 state_id) { state->message->is_sent = false; state->net_query_id = 0; state->net_query_ref = NetQueryRef(); - LOG(INFO) << "Oubound message [resend] " << tag("logevent_id", state->message->logevent_id()) + LOG(INFO) << "Outbound message [resend] " << tag("logevent_id", state->message->logevent_id()) << tag("state_id", state_id); binlog_rewrite(context_->binlog(), state->message->logevent_id(), LogEvent::HandlerType::SecretChats, diff --git a/td/telegram/SecretChatsManager.cpp b/td/telegram/SecretChatsManager.cpp index ab26b7759..19ba726e7 100644 --- a/td/telegram/SecretChatsManager.cpp +++ b/td/telegram/SecretChatsManager.cpp @@ -357,7 +357,7 @@ void SecretChatsManager::replay_create_chat(unique_ptr message) { - LOG(INFO) << "Replay oubound secret message in chat " << message->chat_id; + LOG(INFO) << "Replay outbound secret message in chat " << message->chat_id; auto actor = get_chat_actor(message->chat_id); send_closure_later(actor, &SecretChatActor::replay_outbound_message, std::move(message));