Reset keepalive timer if we're about to send
No sense in sending more keepalives than necessary.
This commit is contained in:
parent
ed707db4ba
commit
2b073f3365
2 changed files with 2 additions and 0 deletions
|
@ -15950,6 +15950,7 @@ window.axolotl.sessions = {
|
|||
};
|
||||
|
||||
function send(msg) {
|
||||
resetKeepAliveTimer();
|
||||
socket.send(msg);
|
||||
};
|
||||
|
||||
|
|
|
@ -70,6 +70,7 @@
|
|||
};
|
||||
|
||||
function send(msg) {
|
||||
resetKeepAliveTimer();
|
||||
socket.send(msg);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue