aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities/MucOptions.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/pixart/messenger/entities/MucOptions.java')
-rw-r--r--src/main/java/de/pixart/messenger/entities/MucOptions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/MucOptions.java b/src/main/java/de/pixart/messenger/entities/MucOptions.java
index 01ad8816e..bfad9e6a7 100644
--- a/src/main/java/de/pixart/messenger/entities/MucOptions.java
+++ b/src/main/java/de/pixart/messenger/entities/MucOptions.java
@@ -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);
}
}