lilia
b790f82849
Remove libaxolotl dependency on textsecure/errors.js
...
Let libaxolotl throw a generic error instead of a replayable error, and
add an helper function in libtextsecure's axolotl_wrapper to catch and
convert from the generic error to the replayable one. This allows the
ReplayableError to remain a libtextsecure-level concept only.
Somewhat unrelatedly, but nearby, fix some whitespace and add missing
semicolon.
11 years ago
lilia
676ad04958
Add device storage method to wipe an identity
11 years ago
Matt Corallo
2277b41639
Remove non-existant device messages
11 years ago
Matt Corallo
29192edcb8
Ignore END_SESSION on messages with a sync context
11 years ago
Matt Corallo
b356403061
De-duplicate registrationId in deviceObject
11 years ago
Matt Corallo
92d0de6837
[de]serialize sessions storage in device storage
11 years ago
Matt Corallo
1bef1ce5d3
Split out identity key storage from session storage
11 years ago
Matt Corallo
1806210b26
Rewrite most of the device storage stuff
11 years ago
Matt Corallo
30dd13e8e3
Return a function instead of a session in decryptWhisperMessage
11 years ago
Matt Corallo
3e648b0ea0
Move groups storage back to libtextsecure
11 years ago
Matt Corallo
04b2a13a75
Naively move device/session storage to wrapper
11 years ago
Matt Corallo
bb32a51d66
s/textsecure.protocol/axolotl.protocol/
11 years ago
Matt Corallo
c1907b14eb
Use axolotl.api for a few more things in libaxolotl/protocol.js
11 years ago
Matt Corallo
a9617068a2
Move key updating and retry handling to libtextsecure
11 years ago
Matt Corallo
184b1ec89c
Move protocol protobufs to libaxolotl/, handling DeviceControl
11 years ago
Matt Corallo
849fdb7ae4
Move group storage into window.axolotl
11 years ago