Browse Source

Syntax fix

master
Igor Zhukov 10 years ago
parent
commit
6700acac74
  1. 7
      app/js/services.js

7
app/js/services.js

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

Loading…
Cancel
Save