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
Fiddle linebreaks
This commit is contained in:
@@ -663,8 +663,8 @@ OlmDevice.prototype.decryptGroupMessage = function(
|
|||||||
var messageIndexKey = senderKey + "|" + sessionId + "|" + res.message_index;
|
var messageIndexKey = senderKey + "|" + sessionId + "|" + res.message_index;
|
||||||
if (messageIndexKey in self._inboundGroupSessionMessageIndexes) {
|
if (messageIndexKey in self._inboundGroupSessionMessageIndexes) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
"Duplicate message index, possible replay attack: "
|
"Duplicate message index, possible replay attack: " +
|
||||||
+ messageIndexKey
|
messageIndexKey
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
self._inboundGroupSessionMessageIndexes[messageIndexKey] = true;
|
self._inboundGroupSessionMessageIndexes[messageIndexKey] = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user