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) {
|
if (user != null) {
|
||||||
synchronized (users) {
|
synchronized (users) {
|
||||||
users.remove(user);
|
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.role = Role.NONE;
|
||||||
user.avatar = null;
|
user.avatar = null;
|
||||||
user.fullJid = null;
|
user.fullJid = null;
|
||||||
|
|
Loading…
Reference in New Issue