diff --git a/td/telegram/SecretChatActor.cpp b/td/telegram/SecretChatActor.cpp index c916fca8..356d2295 100644 --- a/td/telegram/SecretChatActor.cpp +++ b/td/telegram/SecretChatActor.cpp @@ -983,6 +983,12 @@ Status SecretChatActor::do_inbound_message_decrypted_unchecked( return status; } + if (message->decrypted_message_layer->message_->get_id() == secret_api::decryptedMessageService8::ID) { + auto old = move_tl_object_as(message->decrypted_message_layer->message_); + message->decrypted_message_layer->message_ = + secret_api::make_object(old->random_id_, std::move(old->action_)); + } + // Process ActionResend. if (message->decrypted_message_layer->message_->get_id() == secret_api::decryptedMessageService::ID) { auto *decrypted_message_service =