From 6db8dd620d5d9fda6bcc33165c0efcb325d0b2f8 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 28 Nov 2018 16:11:28 +0000 Subject: [PATCH] Fix https://github.com/matrix-org/matrix-js-sdk/pull/792 --- src/crypto/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crypto/index.js b/src/crypto/index.js index d36f449aa..a52122788 100644 --- a/src/crypto/index.js +++ b/src/crypto/index.js @@ -1464,6 +1464,7 @@ Crypto.prototype._onToDeviceBadEncrypted = async function(event) { "Couldn't find device for identity key " + deviceKey + ": not re-establishing session", ); + return; } const devicesByUser = {}; devicesByUser[sender] = [device];