pull/843/head
Mikunj 5 years ago
parent 820ce5cdf0
commit 942c76ce6b

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

Loading…
Cancel
Save