fix: remove emoji html from notifications

This commit is contained in:
Eric Mastro 2021-04-20 11:10:01 +10:00 committed by Iuri Matias
parent 35b8699f9f
commit 6de717e0e4
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ ScrollView {
case Constants.imageType: message = qsTrId("image"); break
//% "Sticker"
case Constants.stickerType: message = qsTrId("sticker"); break
default: message = Emoji.parse(msg, "26x26").replace(/\n|\r/g, ' ')
default: message = msg // don't parse emojis here as it emits HTML
}
} else {
//% "You have a new message"