diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js
index cd8fff2021..ca20d6db6f 100644
--- a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js
+++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js
@@ -39,8 +39,8 @@
console.log('chat.newMessage', data);
$scope.$apply(function() {
$scope.messages.push(data);
- if (data.from != verto.data.name && (!$scope.chatStatus ||
- $scope.activePane != 'chat')) {
+ if (data.from != verto.data.name &&
+ (!$scope.chatStatus && $scope.activePane != 'chat')) {
++$rootScope.chat_counter;
}
$timeout(function() {