From 13f9f23946a1e8260b92c6006d0f7981fff8d35c Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 20 May 2014 11:05:03 +0200 Subject: [PATCH] fixed ping time out after session resume --- src/eu/siacs/conversations/xmpp/XmppConnection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java index 23613cd5..0ba9677a 100644 --- a/src/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java @@ -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();