From 2481784ab2af606d46515cacaa5a16a80c0321f8 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Fri, 27 Sep 2019 09:30:24 -0700 Subject: [PATCH] Increase maximum message counter from 2000 to 5000 --- libtextsecure/libsignal-protocol.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtextsecure/libsignal-protocol.js b/libtextsecure/libsignal-protocol.js index b2415f4f8..7c24517e6 100644 --- a/libtextsecure/libsignal-protocol.js +++ b/libtextsecure/libsignal-protocol.js @@ -36312,8 +36312,8 @@ SessionCipher.prototype = { return Promise.resolve(); // Already calculated } - if (counter - chain.chainKey.counter > 2000) { - throw new Error('Over 2000 messages into the future!'); + if (counter - chain.chainKey.counter > 5000) { + throw new Error('Over 5000 messages into the future!'); } if (chain.chainKey.key === undefined) {