Syntax fix

This commit is contained in:
Igor Zhukov 2015-01-16 15:39:52 +03:00
parent 4012135f26
commit 6700acac74

View File

@ -2108,9 +2108,10 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
var timeout = $rootScope.idle.isIDLE && StatusManager.isOtherDeviceActive() ? 30000 : 1000;
setTimeout(function () {
isMutedPromise.then(function (muted) {
if (message.unread && !muted) {
notifyAboutMessage(message);
}
if (message.unread && !muted) {
notifyAboutMessage(message);
}
})
}, timeout);
}
break;