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