Lower message display limit

Stephen Paul Weber created

Serious UI lag and bugs when it gets too big

See https://soprani.ca/todo/302

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 🔗

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