mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-04 16:25:06 -05:00
only keep offline members in members only conferences
This commit is contained in:
parent
9a7f51520e
commit
e63d6b4bf2
@ -394,7 +394,10 @@ public class MucOptions {
|
||||
if (user != null) {
|
||||
synchronized (users) {
|
||||
users.remove(user);
|
||||
if (user.affiliation.ranks(Affiliation.MEMBER) && user.realJid != null) {
|
||||
if (membersOnly() &&
|
||||
nonanonymous() &&
|
||||
user.affiliation.ranks(Affiliation.MEMBER) &&
|
||||
user.realJid != null) {
|
||||
user.role = Role.NONE;
|
||||
user.avatar = null;
|
||||
user.fullJid = null;
|
||||
|
Loading…
Reference in New Issue
Block a user