Cable-Desktop/js
lilia 67f25214d3 Refactor outgoing identity key conflict handling
saveKeysToDeviceObject is the detector of outgoing identity key errors.
Catch these key errors closer to the source by pulling the
getKeysForNumber into the context of sendMessageToDevices, which lets
it access registerError and the message protobuf.

Previously identity key errors would be uncaught if all existing
sessions with a recipient were closed/deleted, since we would
preemptively fetch the new identity key. The old error handling only
kicked in after a 409/410 response from the server when posting a
message encrypted for a stale session.

// FREEBIE
2015-07-21 16:00:09 -07:00
..
models Mark end session messages sent 2015-07-16 12:14:09 -07:00
views Display the new key for verification after a conflict 2015-07-20 14:27:11 -07:00
axolotl_store.js Remove redundant identity key updates 2015-07-16 12:14:06 -07:00
background.js Reconnect once a minute if internet is down 2015-07-16 14:56:37 -07:00
bimap.js Simplify panel state management and message passing 2015-02-11 17:37:56 -08:00
chromium.js Fix for conversation & inbox windows closing callbacks never called. 2015-07-01 22:28:06 +02:00
components.js 239 Auto-expand message area when typing 2015-06-23 22:45:41 +02:00
conversation_panel.js Apply custom chrome to conversation windows 2015-05-21 14:35:44 -07:00
database.js Turn off idb query logging 2015-07-16 12:13:45 -07:00
index.js Keep inbox window open, but allow it to be hidden 2015-05-21 13:08:43 -07:00
libaxolotl-worker.js Use a worker to facilitate key generation 2015-05-05 17:44:55 -07:00
libphonenumber-util.js jshint all the things 2015-02-19 00:22:23 -08:00
libtextsecure.js Refactor outgoing identity key conflict handling 2015-07-21 16:00:09 -07:00
notifications.js Remove remaining traces of localStorage 2015-05-15 11:39:19 -07:00
options.js Cleanup 'Too many devices' dialog 2015-07-14 13:39:37 -07:00
panel_controller.js Remove usage of extension.trigger 2015-07-16 12:13:45 -07:00
register.js Fix registration page 2015-05-15 11:39:23 -07:00
storage.js Fix tests 2015-05-15 11:39:23 -07:00