2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Support emoji in custom admin badges.

This commit is contained in:
John Preston
2019-07-19 17:05:48 +02:00
parent 6fe36e6534
commit 3f1a2d0b58
5 changed files with 44 additions and 30 deletions

View File

@@ -438,7 +438,7 @@ void GroupInfoBox::prepare() {
_initialTitle);
_title->setMaxLength(kMaxGroupChannelTitle);
_title->setInstantReplaces(Ui::InstantReplaces::Default());
_title ->setInstantReplacesEnabled(Global::ReplaceEmojiValue());
_title->setInstantReplacesEnabled(Global::ReplaceEmojiValue());
Ui::Emoji::SuggestionsController::Init(
getDelegate()->outerContainer(),
_title);