From abbe89a00f017b8be1b8af062913f16445a6517b Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 16 Jul 2025 14:27:57 +0200 Subject: [PATCH] noise --- .../java/com/bitchat/android/noise/NoiseEncryptionService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/bitchat/android/noise/NoiseEncryptionService.kt b/app/src/main/java/com/bitchat/android/noise/NoiseEncryptionService.kt index 8f403c63..d7d1d954 100644 --- a/app/src/main/java/com/bitchat/android/noise/NoiseEncryptionService.kt +++ b/app/src/main/java/com/bitchat/android/noise/NoiseEncryptionService.kt @@ -24,7 +24,7 @@ class NoiseEncryptionService(private val context: Context) { // Session limits for performance and security private const val REKEY_TIME_LIMIT = 3600000L // 1 hour (same as iOS) - private const val REKEY_MESSAGE_LIMIT = 10000L // 10k messages (same as iOS) + private const val REKEY_MESSAGE_LIMIT = 1000L // 1k messages (matches iOS) (same as iOS) } // Static identity key (persistent across app restarts) - loaded from secure storage