Update libsignal-protocol v0.10.0

* Changes policy for old session deletion
* Renames putIdentityKey to saveIdentity
* Remove device messages

// FREEBIE
This commit is contained in:
lilia 2016-05-03 14:54:57 -07:00
parent f783b11368
commit 148bd32671
9 changed files with 60 additions and 137 deletions

View file

@ -110,7 +110,7 @@
// update our own identity key, which may have changed
// if we're relinking after a reinstall on the master device
var putIdentity = textsecure.storage.protocol.putIdentityKey.bind(
var putIdentity = textsecure.storage.protocol.saveIdentity.bind(
null, number, identityKeyPair.pubKey
);
textsecure.storage.protocol.removeIdentityKey(number).then(putIdentity, putIdentity);