Commit 2c033d15 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Initialize lastActive with current time.

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@3190 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2b7b9959
......@@ -58,7 +58,7 @@ public class XPPPacketReader {
* Last time a full Document was read or a heartbeat was received. Hearbeats
* are represented as whitespaces received while a Document is not being parsed.
*/
private long lastActive;
private long lastActive = System.currentTimeMillis();
public XPPPacketReader() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment