diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-05-20 11:05:03 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-05-20 11:05:03 +0200 |
commit | 13f9f23946a1e8260b92c6006d0f7981fff8d35c (patch) | |
tree | 630b5fe9053b44267194424e5e331d94d58856df /src/eu | |
parent | 8f92d8d109e2d62816c5d3fe1b9d21ab4802ccc8 (diff) |
fixed ping time out after session resume
Diffstat (limited to 'src/eu')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/XmppConnection.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |