aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2019-10-26 19:40:21 +0200
committerChristian Schneppe <christian.schneppe@pix-art.de>2019-10-26 19:40:21 +0200
commitc85b487fca553a9c154dc3b1a1c0e7a4a8708108 (patch)
tree5ab98c10c84e20b9bb6c7a436a169e92cc302074
parent001da15a334e0cfa4d8e82fcc3e65d276c1c5233 (diff)
store message bodies up to 1MB
-rw-r--r--src/main/java/de/pixart/messenger/Config.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/Config.java b/src/main/java/de/pixart/messenger/Config.java
index d29672063..72aacf397 100644
--- a/src/main/java/de/pixart/messenger/Config.java
+++ b/src/main/java/de/pixart/messenger/Config.java
@@ -111,7 +111,7 @@ public final class Config {
public static final boolean PUT_AUTH_TAG_INTO_KEY = true;
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 boolean ExportLogs = true; // automatically export logs
public static final int ExportLogs_Hour = 4; //Time - hours: valid values from 0 to 23