mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
When processing a contact sync with embedded identity key verification info, we were running overlapping async fetch/save operations on the same conversation model, causing a race that tends to clobber updates to the contact info. In this change we extend the application-level contact info handler to block on a subsequent call to the verification handler, which effectively serializes the fetch/save calls, and relieves the need for the message receiver to trigger a seperate event concerning the verification info on contact sync messages. Fixes #1408 // FREEBIE |
||
---|---|---|
.. | ||
storage | ||
test | ||
account_manager.js | ||
api.js | ||
components.js | ||
contacts_parser.js | ||
crypto.js | ||
errors.js | ||
event_target.js | ||
helpers.js | ||
key_worker.js | ||
libsignal-protocol.js | ||
message_receiver.js | ||
outgoing_message.js | ||
protobufs.js | ||
protocol_wrapper.js | ||
ProvisioningCipher.js | ||
sendmessage.js | ||
storage.js | ||
stringview.js | ||
sync_request.js | ||
task_with_timeout.js | ||
websocket-resources.js |