You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/js
lilia 7d3d634a2d Move/refactor keepalive logic and add disconnect timer
We now disconnect ourselves if we don't get the server's response to a
keepalive request within 30s. This way we will eventually disconnect if
the network goes away but the socket is not closed.*

* See code.google.com/p/chromium/issues/detail?id=197841 and
https://stackoverflow.com/questions/11755605/chrome-websocket-connection-not-closed-when-browser-closed

We will then try to reconnect once a minute (See 8a10c96);

Keepalives belong at this level anyway, since the format is defined by
both the websocket resource protocol and our specific server url
structure.

// FREEBIE
10 years ago
..
models Mark end session messages sent 10 years ago
views Let key verification view use array buffers 10 years ago
axolotl_store.js Remove redundant identity key updates 10 years ago
background.js Reconnect once a minute if internet is down 10 years ago
bimap.js Simplify panel state management and message passing 10 years ago
chromium.js Fix for conversation & inbox windows closing callbacks never called. 10 years ago
components.js 239 Auto-expand message area when typing 10 years ago
conversation_panel.js Apply custom chrome to conversation windows 10 years ago
database.js Turn off idb query logging 10 years ago
index.js Keep inbox window open, but allow it to be hidden 10 years ago
libaxolotl-worker.js Use a worker to facilitate key generation 10 years ago
libphonenumber-util.js jshint all the things 10 years ago
libtextsecure.js Move/refactor keepalive logic and add disconnect timer 10 years ago
notifications.js Remove remaining traces of localStorage 10 years ago
options.js Cleanup 'Too many devices' dialog 10 years ago
panel_controller.js Remove usage of extension.trigger 10 years ago
register.js Fix registration page 10 years ago
storage.js Fix tests 10 years ago