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.
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 | 10 years ago | |
test | 10 years ago | |
account_manager.js | 10 years ago | |
api.js | 10 years ago | |
axolotl_wrapper.js | 10 years ago | |
components.js | 10 years ago | |
contacts_parser.js | 10 years ago | |
crypto.js | 10 years ago | |
errors.js | 10 years ago | |
helpers.js | 10 years ago | |
key_worker.js | 10 years ago | |
libaxolotl.js | 10 years ago | |
message_receiver.js | 10 years ago | |
protobufs.js | 10 years ago | |
sendmessage.js | 10 years ago | |
storage.js | 10 years ago | |
stringview.js | 10 years ago | |
websocket-resources.js | 10 years ago | |
websocket.js | 10 years ago |