reset resource after bind failure
This commit is contained in:
parent
7b6d49f329
commit
be371ac5df
|
@ -1032,6 +1032,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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue