d8ce198f55
* Fetch conversations once, clean up ConversationController API Race conditions around re-fetching have caused some problems recently, so this removes the need to re-fetch conversations. They are fetched once or saved once, and that is it. All interaction goes through the ConversationController, which is the central source of truth. We have two rules for Conversations: 1. If a conversation is in the ConversationController it doesn't need to be fetched, but its initial fetch/save might be in progress. You can wait for that fetch/save with conversation.initialPromise. 2. If a conversation is not already in the ConversationController, it's not yet in the database. It needs to be added to the ConversationController and saved to the database. FREEBIE * Remove Conversation.fetch() call in Message.handleDataMessage() FREEBIE * ConversationController.API cleanup: Fix two missing spots FREEBIE |
||
---|---|---|
.. | ||
models | ||
views | ||
background.js | ||
backup.js | ||
chromium.js | ||
components.js | ||
conversation_controller.js | ||
conversation_panel.js | ||
database.js | ||
debugLog.js | ||
delivery_receipts.js | ||
emoji_util.js | ||
expire.js | ||
expiring_messages.js | ||
index.js | ||
keychange_listener.js | ||
libphonenumber-util.js | ||
libsignal-protocol-worker.js | ||
libtextsecure.js | ||
Mp3LameEncoder.min.js | ||
notifications.js | ||
options.js | ||
panel_controller.js | ||
read_receipts.js | ||
register.js | ||
registration.js | ||
reliable_trigger.js | ||
rotate_signed_prekey_listener.js | ||
signal_protocol_store.js | ||
storage.js | ||
wall_clock_listener.js | ||
WebAudioRecorderMp3.js |