Reset keepalive timer if we're about to send

No sense in sending more keepalives than necessary.
pull/749/head
lilia 10 years ago
parent ed707db4ba
commit 2b073f3365

@ -15950,6 +15950,7 @@ window.axolotl.sessions = {
}; };
function send(msg) { function send(msg) {
resetKeepAliveTimer();
socket.send(msg); socket.send(msg);
}; };

@ -70,6 +70,7 @@
}; };
function send(msg) { function send(msg) {
resetKeepAliveTimer();
socket.send(msg); socket.send(msg);
}; };

Loading…
Cancel
Save