Commit Graph

173 Commits (bc03bdbfc435678e185e01465d1b4df45e394b76)

Author SHA1 Message Date
Matt Corallo 5abf3073d5 Check END_SESSION messages in processDecrypted 11 years ago
Matt Corallo 29192edcb8 Ignore END_SESSION on messages with a sync context 11 years ago
Matt Corallo 9c3f8a1868 Dont send group-update right before we quit the group
Fixes #166
11 years ago
Matt Corallo f2853d00e6 Merge pull request #167 from WhisperSystems/sync
Sync outgoing individual and group messages
11 years ago
lilia f860cb4492 Return end session messages to the frontend
So we can save them in the message history, and because the caller
expects a promise.
11 years ago
lilia 40351fcc54 Sync outgoing messages
When sending an constrct a copy of the PushMessageContent protobuf, add
a SyncMessageContext, and send it to ourselves. Do this for all kinds of
group messages, and individual text/media messages, but not closeSession
messages as the latter are device-specific.

Do not sync messages if we are the primary device, which should only be
supported in development. Normal web clients must be paired with a
android or ios master device, and even in dev, a primary/standalone web
client does not support linking additional devices.
11 years ago
Matt Corallo b45c09470f Merge pull request #155 from WhisperSystems/closeSession
Fix textsecure.closeSession
11 years ago
lilia 0e8a5806a8 Fix textsecure.closeSession
sendIndividualProto requires a timestamp.
11 years ago
lilia 65c70a9117 Fix provisioning flow
Fix undefined axolotl.protobufs.ProvisionMessage, referenced in
libaxolotl/protocol.js
11 years ago
Matt Corallo 148410a826 Move jquery dep from libaxolotl to libaxolotl tests 11 years ago
Matt Corallo 44a094c324 Re-run concat 11 years ago
Matt Corallo f1f5914879 Re-run concat 11 years ago
Matt Corallo cb6cb4ff89 Re-add jquery as it is needed for our test runners 11 years ago
Matt Corallo 8398a52c20 Re-run concat 11 years ago
Matt Corallo 02d0c58e5e Mostly done device-bringup stuff 11 years ago
lilia c0a8c00884 Rebuild libtextsecure also 11 years ago
Matt Corallo 29b2ffc769 Update to real server provisioning API 11 years ago
Matt Corallo c112c59ce6 Fix group send (fixes #129) 11 years ago
lilia 44007ca58f Add rudimentary ui for sending a group update 11 years ago
Matt Corallo 334550b779 Regenerate components/libts 11 years ago
Matt Corallo 5785f4033c Compile curve25519/webcrypto into libtextsecure.js 11 years ago
Matt Corallo 07899557dc Give libtextsecure its own components (with way fewer deps) 11 years ago
Matt Corallo 8ad1a38b5b Move js files around for libtextsecure split 11 years ago