aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-05-12 03:57:05 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-05-12 03:57:05 +0200
commit93e444ac3ad4b39415d7097566c319904ff14bcd (patch)
treebecc3ef0a71e7bbd42dd6a29fb39aa7004fa9b05
parentfe5c4cab4608a6b3ded682f4a69da14916cc1d37 (diff)
don't set unknown error in muc
-rw-r--r--src/main/java/eu/siacs/conversations/entities/MucOptions.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/MucOptions.java b/src/main/java/eu/siacs/conversations/entities/MucOptions.java
index addee8db..d867a370 100644
--- a/src/main/java/eu/siacs/conversations/entities/MucOptions.java
+++ b/src/main/java/eu/siacs/conversations/entities/MucOptions.java
@@ -343,8 +343,6 @@ public class MucOptions {
setError(ERROR_BANNED);
} else if (error != null && error.hasChild("registration-required")) {
setError(ERROR_MEMBERS_ONLY);
- } else {
- setError(ERROR_UNKNOWN);
}
}
}