You've already forked matrix-js-sdk
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:
@@ -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] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user