mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-11 01:47:00 +01:00
The future is the other direction.
// FREEBIE
This commit is contained in:
1 parent
c54a5b613b
commit
30aff82341
1 file changed
+1
-1
@@ -324,7 +324,7 @@ public class SessionCipher {
|
||||
}
|
||||
}
|
||||
|
||||
if (chainKey.getIndex() - counter > 2000) {
|
||||
if (counter - chainKey.getIndex() > 2000) {
|
||||
throw new InvalidMessageException("Over 2000 messages into the future!");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user