store message bodies up to 1MB

This commit is contained in:
Daniel Gultsch 2019-10-23 22:34:43 +02:00
parent ab516299e7
commit db3ca3f165

View file

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