2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

improved emoji text replaces

This commit is contained in:
John Preston
2015-05-12 18:01:49 +03:00
parent 47f673aa69
commit d92356ce28
6 changed files with 59 additions and 34 deletions

View File

@@ -2900,7 +2900,7 @@ bool HistorySticker::updateStickerEmoji() {
}
const EmojiStickersMap &stickers(cEmojiStickers());
EmojiStickersMap::const_iterator i = stickers.constFind(data);
QString emoji = (i == stickers.cend()) ? QString() : textEmojiString(i.value());
QString emoji = (i == stickers.cend()) ? QString() : emojiString(i.value());
if (emoji != _emoji) {
_emoji = emoji;
return true;