Fixed sticker notification

This commit is contained in:
Igor Zhukov 2016-12-02 20:22:03 +03:00
parent 56df1ec994
commit cde9f67667

View File

@ -2529,11 +2529,10 @@ angular.module('myApp.services')
captionEmoji = '🎬'
break
case 'sticker':
notificationMessage = _('conversation_media_sticker')
var stickerEmoji = message.media.document.stickerEmojiRaw
if (stickerEmoji !== undefined) {
notificationMessage = RichTextProcessor.wrapPlainText(stickerEmoji) + ' ' + notificationMessage
} else {
notificationMessage = _('conversation_media_sticker')
}
break
case 'video':