don't set unknown error in muc
This commit is contained in:
parent
fe5c4cab46
commit
93e444ac3a
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue