summary refs log tree commit diff
path: root/webclient/room/room-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'webclient/room/room-controller.js')
-rw-r--r--webclient/room/room-controller.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index 9861b25617..472a4d2fae 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -75,11 +75,15 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
     });
     
     $scope.$on(eventHandlerService.MEMBER_EVENT, function(ngEvent, event, isLive) {
-        updateMemberList(event);
+        if (isLive) {
+            updateMemberList(event);
+        }
     });
     
     $scope.$on(eventHandlerService.PRESENCE_EVENT, function(ngEvent, event, isLive) {
-        updatePresence(event);
+        if (isLive) {
+            updatePresence(event);
+        }
     });
 
     $scope.memberCount = function() {