1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-29 16:43:09 +03:00

don't keep processing if we have an error

This commit is contained in:
Hubert Chathi
2020-01-07 10:55:47 -05:00
parent 01f6b3dfc6
commit 55ecb40190

View File

@@ -1035,6 +1035,7 @@ OlmDevice.prototype.decryptGroupMessage = async function(
} else { } else {
error = e; error = e;
} }
return;
} }
let plaintext = res.plaintext; let plaintext = res.plaintext;
@@ -1061,6 +1062,7 @@ OlmDevice.prototype.decryptGroupMessage = async function(
"Duplicate message index, possible replay attack: " + "Duplicate message index, possible replay attack: " +
messageIndexKey, messageIndexKey,
); );
return;
} }
} }
this._inboundGroupSessionMessageIndexes[messageIndexKey] = { this._inboundGroupSessionMessageIndexes[messageIndexKey] = {