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];