in error messages use the userID instead of the AccountAddress property

cusax-fix
Yana Stamcheva 19 years ago
parent 27d0f65959
commit 28140b6f97

@ -253,7 +253,7 @@ else if (evt.getReasonCode() == RegistrationStateChangeEvent
else if (evt.getReasonCode() == RegistrationStateChangeEvent
.REASON_AUTHENTICATION_FAILED) {
String msgText = Messages.getI18NString("authenticationFailed",
protocolProvider.getAccountID().getAccountAddress())
protocolProvider.getAccountID().getUserID())
.getText();
new ErrorDialog(null, msgText,
@ -266,7 +266,7 @@ else if (evt.getNewState().equals(RegistrationState.CONNECTION_FAILED)) {
this.mainFrame.getStatusPanel().updateStatus(evt.getProvider());
String msgText = Messages.getI18NString("connectionFailedMessage",
protocolProvider.getAccountID().getAccountAddress()).getText();
protocolProvider.getAccountID().getUserID()).getText();
new ErrorDialog(null, msgText,
Messages.getI18NString("error").getText()).showDialog();

Loading…
Cancel
Save