Reset keepalive timer if we're about to send

No sense in sending more keepalives than necessary.
This commit is contained in:
lilia 2015-03-11 11:12:14 -07:00
parent ed707db4ba
commit 2b073f3365
2 changed files with 2 additions and 0 deletions

View file

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

View file

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