Cable-Desktop/libtextsecure
lilia 07702c4ee5 Let the application layer send sync messages
Previously, libtextsecure would send a sync message automatically
when appropriate. This fails if any recipient has a key conflict
or if our network connection fails mid-send.

Instead, when appropriate, return a the DataMessage encoded as an array
buffer for later syncing. This lets the application choose when to send
it, which we now do after any successful send to a recipient, rather
than after all recipients are successfully sent to.

Eventually we should move the DataMessage protobuf construction and
group sending logic to the application layer entirely, in which case
we wouldn't need libtextsecure to construct the sync message either.

Fixes #408
2015-11-24 17:11:03 -08:00
..
storage Populate registrationIds on deviceObjects 2015-11-24 17:05:23 -08:00
test Move jquery from libtextsecure components 2015-10-19 12:51:59 -07:00
account_manager.js Fix key conflict with self after master device re-install 2015-11-24 16:20:07 -08:00
api.js Refactor messageSender/OutgoingMessage 2015-11-24 17:05:24 -08:00
axolotl_wrapper.js Fix protocol version check 2015-11-09 16:59:53 -08:00
components.js Move jquery from libtextsecure components 2015-10-19 12:51:59 -07:00
contacts_parser.js Support for group sync 2015-06-25 13:24:32 -07:00
crypto.js Validate argument lengths in crypto.js 2015-10-27 13:58:23 -07:00
errors.js Change key conflict error message 2015-10-28 13:46:03 -07:00
helpers.js Move handleAttachment and processDecrypted 2015-10-01 18:43:07 -07:00
key_worker.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
libaxolotl.js Update libaxolotl 2015-11-23 16:13:32 -08:00
message_receiver.js Validate attachment urls 2015-11-24 16:20:07 -08:00
outgoing_message.js Change return type from sending messages 2015-11-24 17:05:25 -08:00
protobufs.js Load protobufs asynchronously. Fixes #223 2015-05-15 11:38:14 -07:00
sendmessage.js Let the application layer send sync messages 2015-11-24 17:11:03 -08:00
storage.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
stringview.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
websocket-resources.js Simplify keepalive resets 2015-10-23 15:44:03 -07:00