1
0
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:
Mark Haines
2016-10-20 17:59:15 +01:00
parent e0917d3c47
commit 3f7df0d15c

View File

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