mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
parent
91a7a77bb0
commit
6904e023d3
1 changed files with 1 additions and 2 deletions
|
@ -467,8 +467,7 @@ void SuggestionsController::replaceCurrent(const QString &replacement) {
|
|||
cursor.insertText(replacement);
|
||||
}
|
||||
|
||||
auto emojiText = GetSuggestionEmoji(QStringToUTF16(replacement));
|
||||
if (auto emoji = Find(QStringFromUTF16(emojiText))) {
|
||||
if (auto emoji = Find(replacement)) {
|
||||
if (emoji->hasVariants()) {
|
||||
auto it = cEmojiVariants().constFind(emoji->nonColoredId());
|
||||
if (it != cEmojiVariants().cend()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue