don't set unknown error in muc

This commit is contained in:
Daniel Gultsch 2015-05-12 03:57:05 +02:00
parent fe5c4cab46
commit 93e444ac3a
1 changed files with 0 additions and 2 deletions

View File

@ -343,8 +343,6 @@ public class MucOptions {
setError(ERROR_BANNED); setError(ERROR_BANNED);
} else if (error != null && error.hasChild("registration-required")) { } else if (error != null && error.hasChild("registration-required")) {
setError(ERROR_MEMBERS_ONLY); setError(ERROR_MEMBERS_ONLY);
} else {
setError(ERROR_UNKNOWN);
} }
} }
} }