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

View file

@ -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);
}
}
}