mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-10-29 11:47:01 +00:00
add condition
This commit is contained in:
parent
2913b3c272
commit
6124ca4a7f
@ -286,7 +286,7 @@ public class AccountCreationWizard extends JPanel {
|
||||
message = Res.getString("message.already.exists");
|
||||
usernameField.setText("");
|
||||
usernameField.requestFocus();
|
||||
} else if (condition == StanzaError.Condition.not_allowed) {
|
||||
} else if (condition == StanzaError.Condition.not_allowed || condition == StanzaError.Condition.forbidden) {
|
||||
message = Res.getString("message.create.account.not.allowed");
|
||||
} else {
|
||||
message = Res.getString("message.create.account");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user