diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2017-01-20 14:21:59 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2017-01-20 14:21:59 +0100 |
commit | cb9c4d43278dfee9c6ef0e24153bd5a3a2c2688a (patch) | |
tree | 61847031700c7eb88af10cba842ca589e07ecc7c | |
parent | c324f0c8dff5a07d10baf2e82f3d08dc446effdf (diff) |
disable automatic foreground enabler. fixes #2239
-rw-r--r-- | src/main/java/eu/siacs/conversations/Config.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/Config.java b/src/main/java/eu/siacs/conversations/Config.java index 1a992e48..48d2620a 100644 --- a/src/main/java/eu/siacs/conversations/Config.java +++ b/src/main/java/eu/siacs/conversations/Config.java @@ -109,7 +109,7 @@ public final class Config { public static final int MAM_MAX_MESSAGES = 500; public static final long FREQUENT_RESTARTS_DETECTION_WINDOW = 12 * 60 * 60 * 1000; // 10 hours - public static final long FREQUENT_RESTARTS_THRESHOLD = 16; + public static final long FREQUENT_RESTARTS_THRESHOLD = 0; // previous value was 16; public static final ChatState DEFAULT_CHATSTATE = ChatState.ACTIVE; public static final int TYPING_TIMEOUT = 8; |