diff options
-rw-r--r-- | src/main/java/de/pixart/messenger/xmpp/XmppConnection.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java b/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java index df690368b..28dddd961 100644 --- a/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java +++ b/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java @@ -1058,6 +1058,7 @@ public class XmppConnection implements Runnable { } else { Log.d(Config.LOGTAG, account.getJid() + ": disconnecting because of bind failure (" + packet.toString()); } + account.setResource(account.getResource().split("\\.")[0]); throw new StateChangingError(Account.State.BIND_FAILURE); } }); |