diff --git a/app/js/services.js b/app/js/services.js index 15938499..a56019f2 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -2352,7 +2352,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) !message.out && message.unread) { - var isMutedPromise = NotificationsManager.getPeerMuted(peerID); + var notifyPeer = message.flags & 16 ? message.from_id : peerID; + var isMutedPromise = NotificationsManager.getPeerMuted(notifyPeer); var timeout = $rootScope.idle.isIDLE && StatusManager.isOtherDeviceActive() ? 30000 : 1000; setTimeout(function () { isMutedPromise.then(function (muted) {