From fcd7af76285a58aa8e2ba645b8380c2c86f66908 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 21 Jun 2011 13:36:15 +0200 Subject: Fix unknown host error git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@544 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/network/ConnectionControl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrummikub/control/network/ConnectionControl.java b/src/jrummikub/control/network/ConnectionControl.java index 897d0f5..9e8446d 100644 --- a/src/jrummikub/control/network/ConnectionControl.java +++ b/src/jrummikub/control/network/ConnectionControl.java @@ -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; } } -- cgit v1.2.3