fix logging wrong variable for failed resume
This commit is contained in:
parent
3b028be6e8
commit
203d9b338f
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ public class XmppConnection implements Runnable {
|
|||
Element failed = tagReader.readElement(nextTag);
|
||||
try {
|
||||
final int serverCount = Integer.parseInt(failed.getAttribute("h"));
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": resumption failed but server acknowledged stanza #"+h);
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": resumption failed but server acknowledged stanza #"+serverCount);
|
||||
acknowledgeStanzaUpTo(serverCount);
|
||||
} catch (NumberFormatException | NullPointerException e) {
|
||||
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": resumption failed");
|
||||
|
|
Loading…
Add table
Reference in a new issue