Don't send BlockQuote entities to secret chats.
This commit is contained in:
parent
c287417b2c
commit
a805b98211
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user