remove role=none participant when first online participant joins
in anticipations for muc services using registered nicks (and putting nicks into the member list even if that user is offline) we need to remove that 'fake' user from the online list when the real user comes online.
This commit is contained in:
parent
6c2e3b91a4
commit
e8ed23f58c
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ public class MucOptions {
|
|||
old = findUserByRealJid(user.realJid);
|
||||
realJidFound = old != null;
|
||||
synchronized (users) {
|
||||
if (old != null && old.fullJid == null) {
|
||||
if (old != null && (old.fullJid == null || old.role == Role.NONE)) {
|
||||
users.remove(old);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue