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 1614a6f1b8 Add special handling for verification sync
processVerifiedMessage checks the current state of the database against the
identity key from an incoming verification sync message to determine whether or
how to update our local record.

When syncing a DEFAULT status and we have no local record, it's a no-op, but
we'll log it.

When syncing a DEFAULT status and we have non-default record with the same key,
mark it as default.

When syncing a VERIFIED status and either:
  1. we have no key on record,
  2. we have have a different key on record, or
  3. we have the same key on record, but not verified
mark it as verified.

Otherwise do nothing.

References: https://github.com/WhisperSystems/Signal-Android/blob/master/src/org/thoughtcrime/securesms/util/IdentityUtil.java#L129

// FREEBIE

Ensure processVerified resolves
8 years ago
..
models Ensure that we pull verified state only after getting profiles 8 years ago
views Show call to action on group member list when verifying 8 years ago
Mp3LameEncoder.min.js Add voice notes 9 years ago
WebAudioRecorderMp3.js Add voice notes 9 years ago
background.js Fixes to get local verification and sync messages working 8 years ago
chromium.js Drop chrome.runtime.onMessage events 8 years ago
components.js Introduce new filesize dependency 8 years ago
conversation_controller.js Add items to conversation history when user verifies/unverifies 8 years ago
conversation_panel.js Remove erroneous license file and headers 10 years ago
database.js Fixes to get local verification and sync messages working 8 years ago
debugLog.js Use error.stack instead of error for console log 8 years ago
delivery_receipts.js Improve keychange notice reliability/perf 8 years ago
emoji_util.js Bulletproof getCountOfAllMatches against non-global regex input 8 years ago
expire.js Add build support for expiring old releases 9 years ago
expiring_messages.js Use ISO format in log message 8 years ago
index.js Use appendChild instead of append 8 years ago
keychange_listener.js Improve keychange notice reliability/perf 8 years ago
libphonenumber-util.js Refactor number parsing and validation 9 years ago
libsignal-protocol-worker.js Update libsignal-protocol v1.0.0 9 years ago
libtextsecure.js Fixes to get local verification and sync messages working 8 years ago
notifications.js Add an option to play audio notifications 8 years ago
options.js Move Whisper.events out of views and tests 8 years ago
panel_controller.js Simplify openConversation 8 years ago
read_receipts.js Mark older messages as read when we get out-of-order read receipt 8 years ago
register.js Fix minor style errors 9 years ago
registration.js Refactor registration event 9 years ago
rotate_signed_prekey_listener.js Remove some global refs to window.events 8 years ago
signal_protocol_store.js Add special handling for verification sync 8 years ago
storage.js Log on failure to fetch storage 9 years ago
wall_clock_listener.js Remove some global refs to window.events 8 years ago