From aaf5233efe39e8473c4e616ac256004f627816c8 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 28 May 2016 23:48:39 +0200 Subject: limit text size in message adapter to 2k and also limit text size in conversations adapter --- src/main/java/eu/siacs/conversations/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/eu/siacs/conversations/Config.java') diff --git a/src/main/java/eu/siacs/conversations/Config.java b/src/main/java/eu/siacs/conversations/Config.java index c4fe28d98..1d2c727d1 100644 --- a/src/main/java/eu/siacs/conversations/Config.java +++ b/src/main/java/eu/siacs/conversations/Config.java @@ -76,7 +76,7 @@ public final class Config { public static final int REFRESH_UI_INTERVAL = 500; - public static final int MAX_DISPLAY_MESSAGE_CHARS = 5 * 1024; + public static final int MAX_DISPLAY_MESSAGE_CHARS = 2 * 1024; public static final boolean DISABLE_PROXY_LOOKUP = false; //useful to debug ibb public static final boolean DISABLE_HTTP_UPLOAD = false; -- cgit v1.2.3