Allow premium emoji in Saved Messages.
This commit is contained in:
parent
4d6d1def85
commit
2e687480c0
@ -4473,7 +4473,8 @@ void remove_unallowed_entities(const Td *td, FormattedText &text, DialogId dialo
|
||||
remove_intersecting_entities(text.entities);
|
||||
}
|
||||
}
|
||||
if (!G()->shared_config().get_option_boolean("is_premium")) {
|
||||
if (!G()->shared_config().get_option_boolean("is_premium") &&
|
||||
dialog_id != DialogId(td->contacts_manager_->get_my_id())) {
|
||||
remove_premium_custom_emoji_entities(td, text.entities, false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user