From c296a28a4a1d053decfe95749fa3da339149895e Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Thu, 24 Feb 2022 10:20:41 -0500 Subject: [PATCH] Update client-side max envelope size to 256KB to match server. --- .../securesms/dependencies/ApplicationDependencyProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/dependencies/ApplicationDependencyProvider.java b/app/src/main/java/org/thoughtcrime/securesms/dependencies/ApplicationDependencyProvider.java index 5cfc5a45d..6588c59fc 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/dependencies/ApplicationDependencyProvider.java +++ b/app/src/main/java/org/thoughtcrime/securesms/dependencies/ApplicationDependencyProvider.java @@ -127,7 +127,7 @@ public class ApplicationDependencyProvider implements ApplicationDependencies.Pr Optional.of(new SecurityEventListener(context)), provideClientZkOperations().getProfileOperations(), SignalExecutors.newCachedBoundedExecutor("signal-messages", 1, 16, 30), - ByteUnit.KILOBYTES.toBytes(512), + ByteUnit.KILOBYTES.toBytes(256), FeatureFlags.okHttpAutomaticRetry()); }