mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-11 21:25:05 -04:00
Ignore leave members in the list too
This commit is contained in:
parent
78087617d1
commit
069a9745b0
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue