From 3f7df0d15ca19d09504f53923692b90da9f0d56c Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 20 Oct 2016 17:59:15 +0100 Subject: [PATCH] Fiddle linebreaks --- lib/crypto/OlmDevice.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crypto/OlmDevice.js b/lib/crypto/OlmDevice.js index b3be020c3..5feb8016f 100644 --- a/lib/crypto/OlmDevice.js +++ b/lib/crypto/OlmDevice.js @@ -663,8 +663,8 @@ OlmDevice.prototype.decryptGroupMessage = function( var messageIndexKey = senderKey + "|" + sessionId + "|" + res.message_index; if (messageIndexKey in self._inboundGroupSessionMessageIndexes) { throw new Error( - "Duplicate message index, possible replay attack: " - + messageIndexKey + "Duplicate message index, possible replay attack: " + + messageIndexKey ); } self._inboundGroupSessionMessageIndexes[messageIndexKey] = true;