diff --git a/td/telegram/MessageEntity.cpp b/td/telegram/MessageEntity.cpp index 5aa549fd0..fb9ec7ed7 100644 --- a/td/telegram/MessageEntity.cpp +++ b/td/telegram/MessageEntity.cpp @@ -4723,7 +4723,7 @@ void remove_unallowed_entities(const Td *td, FormattedText &text, DialogId dialo } } if (!td->dialog_manager_->can_use_premium_custom_emoji_in_dialog(dialog_id)) { - remove_premium_custom_emoji_entities(td, text.entities, false); + remove_premium_custom_emoji_entities(td, text.entities, true); } }