Cable-Desktop/js
lilia fca67d7b0e Simplify pushMessageContent handler slightly
New private conversations have their type set in onMessageReceived. New
group conversations should be handled the same way as normal group
updates. It was pointed out we should never have to handle a group
message without a preceding group update, as those would be rejected by
textsecure.processDecrypted. An exception would be if you delete the
group from indexedDB but not localStorage, but that's not a mode we
should be supporting.

Also in this change I switched to instantiating a new conversation
object on every call to handlePushMessageContent. Originally, I thought
to use the local conversation list as a cache, but it's a bit simpler to
re-read from the database every time for now. Later on we should revisit
and optimize for fewer read/writes per incoming message.
2014-12-24 15:37:05 -08:00
..
models Don't require a conversation name 2014-12-24 14:32:11 -08:00
storage Move storage objects to their own files 2014-10-28 22:47:48 -07:00
views Don't require a conversation name 2014-12-24 14:32:11 -08:00
api.js Fixup delivery receipts 2014-12-21 21:36:40 -08:00
background.js Simplify pushMessageContent handler slightly 2014-12-24 15:37:05 -08:00
chromium.js DRY up registration event callbacks 2014-12-19 14:02:52 -08:00
components.js Support for lower-level queries on indexedDB 2014-12-18 19:45:53 -08:00
crypto.js Fixup curve25519 module 2014-11-09 15:30:37 -08:00
curve25519_compiled.js Fixup curve25519 module 2014-11-09 15:30:37 -08:00
database.js DB/Index Redux 2014-12-19 17:39:40 -08:00
errors.js Rewrite ReplayableErrors 2014-12-18 20:00:14 -08:00
helpers.js Fix undefined proto.source 2014-12-22 13:24:02 -08:00
index.js Get rid of Layout global 2014-11-24 19:25:03 -08:00
libphonenumber-util.js Move phonenumbery utils to libphonenumber object 2014-10-13 22:49:39 -07:00
nativeclient.js Fixup curve25519 module 2014-11-09 15:30:37 -08:00
options.js Namespace registration helpers 2014-11-13 15:53:56 -08:00
protobufs.js New websocket protocol 2014-11-14 17:48:57 -08:00
protocol.js Handle incoming identity key changes 2014-12-19 17:30:09 -08:00
sendmessage.js Fix arguments to sendMessageProto in tryMessageAgain 2014-12-23 15:02:03 -08:00
storage.js Move storage objects to their own files 2014-10-28 22:47:48 -07:00
stringview.js Add stringview license info and script tags 2014-12-03 01:36:10 -08:00
webcrypto.js Simplify webcrypto type conversion 2014-11-09 21:52:36 -08:00
websocket-resources.js WebSocket-Resources / websocket refactor 2014-11-29 11:43:30 -08:00
websocket.js Keepalive endpoint 2014-12-10 23:48:26 -08:00