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/libtextsecure
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
10 years ago
..
storage Let textsecure devices throw on identity key change 10 years ago
test Move/refactor keepalive logic and add disconnect timer 10 years ago
account_manager.js Fix standalone registration 10 years ago
api.js DRY up Promise creation in api.js 10 years ago
axolotl_wrapper.js Update libaxolotl, handle untrusted identitykey 10 years ago
components.js Regenerate components/libts 10 years ago
contacts_parser.js Support for group sync 10 years ago
crypto.js Signaling key is now an array buffer 10 years ago
errors.js Plumb keys into outgoing conflicts 10 years ago
helpers.js Fix group update avatar handling 10 years ago
key_worker.js Generate key_worker.js 10 years ago
libaxolotl.js Plumb keys into outgoing conflicts 10 years ago
message_receiver.js Move/refactor keepalive logic and add disconnect timer 10 years ago
protobufs.js Load protobufs asynchronously. Fixes #223 10 years ago
sendmessage.js Refactor outgoing identity key conflict handling 10 years ago
storage.js Move local identitykey and registrationid to indexeddb 10 years ago
stringview.js Move js files around for libtextsecure split 10 years ago
websocket-resources.js Move/refactor keepalive logic and add disconnect timer 10 years ago
websocket.js Move/refactor keepalive logic and add disconnect timer 10 years ago