Treat custom emoji as premium by default.

This commit is contained in:
levlam 2024-04-26 18:38:09 +03:00
parent 6144401386
commit cae81ef90a

View File

@ -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)) { 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);
} }
} }