aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2017-01-20 14:21:59 +0100
committerDaniel Gultsch <daniel@gultsch.de>2017-01-20 14:21:59 +0100
commitcb9c4d43278dfee9c6ef0e24153bd5a3a2c2688a (patch)
tree61847031700c7eb88af10cba842ca589e07ecc7c /src/main/java/eu
parentc324f0c8dff5a07d10baf2e82f3d08dc446effdf (diff)
disable automatic foreground enabler. fixes #2239
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/siacs/conversations/Config.java2
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;