Fixed sticker notification
This commit is contained in:
parent
56df1ec994
commit
cde9f67667
@ -2529,11 +2529,10 @@ angular.module('myApp.services')
|
|||||||
captionEmoji = '🎬'
|
captionEmoji = '🎬'
|
||||||
break
|
break
|
||||||
case 'sticker':
|
case 'sticker':
|
||||||
|
notificationMessage = _('conversation_media_sticker')
|
||||||
var stickerEmoji = message.media.document.stickerEmojiRaw
|
var stickerEmoji = message.media.document.stickerEmojiRaw
|
||||||
if (stickerEmoji !== undefined) {
|
if (stickerEmoji !== undefined) {
|
||||||
notificationMessage = RichTextProcessor.wrapPlainText(stickerEmoji) + ' ' + notificationMessage
|
notificationMessage = RichTextProcessor.wrapPlainText(stickerEmoji) + ' ' + notificationMessage
|
||||||
} else {
|
|
||||||
notificationMessage = _('conversation_media_sticker')
|
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 'video':
|
case 'video':
|
||||||
|
Loading…
Reference in New Issue
Block a user