2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-18 13:59:46 +00:00

Support mixed custom / default recent emoji.

This commit is contained in:
John Preston
2022-07-14 14:20:56 +03:00
parent c0ec3a23bb
commit 44a7d11e4a
10 changed files with 401 additions and 117 deletions

View File

@@ -269,7 +269,7 @@ const Ui::Emoji::One *UiIntegration::defaultEmojiVariant(
const auto result = (i != end(variants))
? emoji->variant(i->second)
: emoji;
Core::App().settings().incrementRecentEmoji(result);
Core::App().settings().incrementRecentEmoji({ result });
return result;
}