Don't display short texts for stickers in regular chats
This commit is contained in:
parent
8a3b07e537
commit
7fb1344be3
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ function getMessageText(message, simple) {
|
|||
}
|
||||
}
|
||||
if (message.content['@type'] === 'messageSticker') {
|
||||
return qsTr("Sticker: %1").arg(message.content.sticker.emoji);
|
||||
return simple ? qsTr("Sticker: %1").arg(message.content.sticker.emoji) : "";
|
||||
}
|
||||
if (message.content['@type'] === 'messagePhoto') {
|
||||
if (message.content.caption.text !== "") {
|
||||
|
|
Loading…
Reference in a new issue