Skip to content
Snippets Groups Projects
Commit 069a9745 authored by Emmanuel ROHEE's avatar Emmanuel ROHEE
Browse files

Ignore leave members in the list too

parent 78087617
No related branches found
No related tags found
No related merge requests found
...@@ -169,8 +169,8 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput']) ...@@ -169,8 +169,8 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
var updateMemberList = function(chunk) { var updateMemberList = function(chunk) {
if (chunk.room_id != $scope.room_id) return; if (chunk.room_id != $scope.room_id) return;
// Ignore banned people // Ignore banned and kicked (leave) people
if ("ban" === chunk.membership) { if ("ban" === chunk.membership || "leave" === chunk.membership) {
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment