~singpolyma/cheogram-android

c83adad7fa0c1f930963a51192591f1be747d637 — Stephen Paul Weber 5 months ago d30f10e
Lower message display limit

Serious UI lag and bugs when it gets too big

See https://soprani.ca/todo/302
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/Config.java
M src/main/java/eu/siacs/conversations/Config.java => src/main/java/eu/siacs/conversations/Config.java +1 -1
@@ 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;