Remove now unused function is_hidden_data_entity.
This commit is contained in:
parent
0b1a1855a9
commit
c257615f9a
@ -1513,12 +1513,6 @@ static int32 is_user_entity(MessageEntity::Type type) {
|
||||
return (get_entity_type_mask(type) & get_user_entities_mask()) != 0;
|
||||
}
|
||||
|
||||
static int32 is_hidden_data_entity(MessageEntity::Type type) {
|
||||
return (get_entity_type_mask(type) &
|
||||
(get_entity_type_mask(MessageEntity::Type::TextUrl) | get_entity_type_mask(MessageEntity::Type::MentionName) |
|
||||
get_pre_entities_mask() | get_blockquote_entities_mask())) != 0;
|
||||
}
|
||||
|
||||
static constexpr size_t SPLITTABLE_ENTITY_TYPE_COUNT = 5;
|
||||
|
||||
static size_t get_splittable_entity_type_index(MessageEntity::Type type) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user