From cae81ef90a37d30427a3e922412046c874289e4f Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 26 Apr 2024 18:38:09 +0300 Subject: [PATCH] Treat custom emoji as premium by default. --- td/telegram/MessageEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }