fixed ping time out after session resume

This commit is contained in:
Daniel Gultsch 2014-05-20 11:05:03 +02:00
parent 8f92d8d109
commit 13f9f23946

View file

@ -259,6 +259,7 @@ public class XmppConnection implements Runnable {
RequestPacket r = new RequestPacket(smVersion);
tagWriter.writeStanzaAsync(r);
} else if (nextTag.isStart("resumed")) {
lastPaketReceived = SystemClock.elapsedRealtime();
Log.d(LOGTAG,account.getJid()+": session resumed");
tagReader.readElement(nextTag);
sendPing();