From 942c76ce6b8745c8732f902050a4a0329a231ee6 Mon Sep 17 00:00:00 2001 From: Mikunj Date: Fri, 14 Feb 2020 09:01:46 +1100 Subject: [PATCH] Linting --- libloki/crypto.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libloki/crypto.js b/libloki/crypto.js index 11108508c..50c82b631 100644 --- a/libloki/crypto.js +++ b/libloki/crypto.js @@ -359,7 +359,10 @@ ); } - const decryptFunction = type === this.TYPE.PREKEY ? this.sessionCipher.decryptPreKeyWhisperMessage : this.sessionCipher.decryptWhisperMessage; + const decryptFunction = + type === this.TYPE.PREKEY + ? this.sessionCipher.decryptPreKeyWhisperMessage + : this.sessionCipher.decryptWhisperMessage; const result = await decryptFunction(buffer, encoding); // Handle session reset