Don't send BlockQuote entities to secret chats.

This commit is contained in:
levlam 2023-11-01 22:19:31 +03:00
parent c287417b2c
commit a805b98211

View File

@ -3362,7 +3362,7 @@ vector<tl_object_ptr<secret_api::MessageEntity>> get_input_secret_message_entiti
break;
case MessageEntity::Type::BlockQuote:
if (layer >= static_cast<int32>(SecretChatLayer::NewEntities)) {
result.push_back(make_tl_object<secret_api::messageEntityBlockquote>(entity.offset, entity.length));
// result.push_back(make_tl_object<secret_api::messageEntityBlockquote>(entity.offset, entity.length));
}
break;
case MessageEntity::Type::Code: