Cut down size of message we are willing to store

Stephen Paul Weber created

Change summary

src/main/java/eu/siacs/conversations/Config.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

src/main/java/eu/siacs/conversations/Config.java 🔗

@@ -104,7 +104,7 @@ public final class Config {
     public static final int REFRESH_UI_INTERVAL = 500;
 
     public static final int MAX_DISPLAY_MESSAGE_CHARS = 10000;
-    public static final int MAX_STORAGE_MESSAGE_CHARS = 2 * 1024 * 1024; //2MB
+    public static final int MAX_STORAGE_MESSAGE_CHARS = 1 * 1024 * 1024; //1MB
 
     public static final long MILLISECONDS_IN_DAY = 24 * 60 * 60 * 1000;