diff --git a/js/protocol.js b/js/protocol.js index a0d2f067b3..69ac24314f 100644 --- a/js/protocol.js +++ b/js/protocol.js @@ -212,7 +212,7 @@ window.textsecure.protocol = function() { if (sending) session[getString(ratchet.ephemeralKeyPair.pubKey)] = { messageKeys: {}, chainKey: { counter: -1, key: masterKey[1] } }; else - session[getString(remoteKey)] = { messageKeys: {}, chainKey: { counter: -1, key: masterKey[1] } }; + session[getString(remoteKey)] = { messageKeys: {}, chainKey: { counter: -1, key: masterKey[1] } }; ratchet.rootKey = masterKey[0]; }); });