Fix unknown host error
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@544 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
b69608a0d9
commit
fcd7af7628
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ public class ConnectionControl implements IConnectionControl {
|
|||
XMPPError xmppError = e.getXMPPError();
|
||||
|
||||
if (xmppError != null) {
|
||||
if (xmppError.getType() == Type.CANCEL && xmppError.getCode() == 504) {
|
||||
if (xmppError.getType() == Type.WAIT && xmppError.getCode() == 504) {
|
||||
return LoginError.UNKNOWN_HOST;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue