From 6700acac74288600daf183ddf24bb3554853b6f2 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Fri, 16 Jan 2015 15:39:52 +0300 Subject: [PATCH] Syntax fix --- app/js/services.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/js/services.js b/app/js/services.js index 2bf3fa18..b183d6d8 100644 --- a/app/js/services.js +++ b/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; setTimeout(function () { isMutedPromise.then(function (muted) { - if (message.unread && !muted) { - notifyAboutMessage(message); - } + if (message.unread && !muted) { + notifyAboutMessage(message); + } + }) }, timeout); } break;