summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-03 19:37:54 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-03 19:37:54 +0200
commit069a9745b0a470c3c91aa6e7ea534cf85fa967ad (patch)
tree2c9768cf4ed61b69ffde9334c56300af6a433e8e
parentFixed used of state_key instead of user_id in member events. (diff)
downloadsynapse-069a9745b0a470c3c91aa6e7ea534cf85fa967ad.tar.xz
Ignore leave members in the list too
-rw-r--r--webclient/room/room-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index 52c57856ee..c3f72c9d25 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -169,8 +169,8 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
     var updateMemberList = function(chunk) {
         if (chunk.room_id != $scope.room_id) return;
 
-        // Ignore banned people
-        if ("ban" === chunk.membership) {
+        // Ignore banned and kicked (leave) people
+        if ("ban" === chunk.membership || "leave" === chunk.membership) {
             return;
         }