mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
a2c7ac0df9
Add a pendingMessages object to MessageSender. This object holds one promise per recipient number. We init this promise with Promise.resolve(), and chain on promises for message sending, replacing the previous promise with the newly chained promise each time. If the current promise resolves and finds that it is still the last promise in the chain, it removes itself. |
||
---|---|---|
.. | ||
models | ||
views | ||
axolotl_store.js | ||
background.js | ||
bimap.js | ||
chromium.js | ||
components.js | ||
conversation_controller.js | ||
conversation_panel.js | ||
database.js | ||
debugLog.js | ||
index.js | ||
libaxolotl-worker.js | ||
libphonenumber-util.js | ||
libtextsecure.js | ||
notifications.js | ||
options.js | ||
panel_controller.js | ||
register.js | ||
storage.js |