Cable-Desktop/js
lilia cfc3b8e6a5 Fix phantom outgoing messages
This bug was caused by a race between indexeddb requests and sending
messages. Order of events to repro was roughly:

1. send async idb request for current message list
2. add new message(s)
3. idb request returns with now incomplete message list
4. message collection gets reset to list from 3, removing messages
added in 2, but not removing their phantom views/dom elements. (bug)
5. send another idb request for current message list
6. idb request returns bearing all messages including those from 2.
7. messages from 2 are added and rendered a second time.

The fix was simply to not remove messages in 4, which means we reuse the
original message model object rather than recreating it in 7.

Fixes #243

// FREEBIE
2015-07-08 11:57:16 -07:00
..
models Fix phantom outgoing messages 2015-07-08 11:57:16 -07:00
views Invert pending/sent model 2015-07-07 23:03:56 -07:00
axolotl_store.js Remove remaining traces of localStorage 2015-05-15 11:39:19 -07:00
background.js Invert pending/sent model 2015-07-07 23:03:56 -07:00
bimap.js Simplify panel state management and message passing 2015-02-11 17:37:56 -08:00
chromium.js Fix for conversation & inbox windows closing callbacks never called. 2015-07-01 22:28:06 +02:00
components.js 239 Auto-expand message area when typing 2015-06-23 22:45:41 +02:00
conversation_panel.js Apply custom chrome to conversation windows 2015-05-21 14:35:44 -07:00
database.js Move local identitykey and registrationid to indexeddb 2015-05-15 11:38:14 -07:00
index.js Keep inbox window open, but allow it to be hidden 2015-05-21 13:08:43 -07:00
libaxolotl-worker.js Use a worker to facilitate key generation 2015-05-05 17:44:55 -07:00
libphonenumber-util.js jshint all the things 2015-02-19 00:22:23 -08:00
libtextsecure.js Fix outgoing identity key conflict handling 2015-07-06 15:11:35 -07:00
notifications.js Remove remaining traces of localStorage 2015-05-15 11:39:19 -07:00
options.js Add error dialog for too many devices 2015-06-25 13:24:31 -07:00
panel_controller.js Update notification code to new avatar format 2015-07-06 12:58:24 -07:00
register.js Fix registration page 2015-05-15 11:39:23 -07:00
storage.js Fix tests 2015-05-15 11:39:23 -07:00