diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-03 19:37:54 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-03 19:37:54 +0200 |
commit | 069a9745b0a470c3c91aa6e7ea534cf85fa967ad (patch) | |
tree | 2c9768cf4ed61b69ffde9334c56300af6a433e8e /webclient | |
parent | Fixed used of state_key instead of user_id in member events. (diff) | |
download | synapse-069a9745b0a470c3c91aa6e7ea534cf85fa967ad.tar.xz |
Ignore leave members in the list too
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room-controller.js | 4 |
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; } |