From 2b375877eb05eef492651e53fa1beeadbf93979b Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 29 Dec 2019 15:34:02 +0100 Subject: [PATCH] extend omemo auto expiry to 42 days (6 weeks) closes #3584 --- src/main/java/eu/siacs/conversations/Config.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/Config.java b/src/main/java/eu/siacs/conversations/Config.java index b86e2b65d..c106bf42b 100644 --- a/src/main/java/eu/siacs/conversations/Config.java +++ b/src/main/java/eu/siacs/conversations/Config.java @@ -94,7 +94,9 @@ public final class Config { public static final long MILLISECONDS_IN_DAY = 24 * 60 * 60 * 1000; - public static final long OMEMO_AUTO_EXPIRY = 14 * MILLISECONDS_IN_DAY; + //remove *other* omemo devices from *your* device list announcement after not seeing any activity from them for 42 days. They will automatically add themselves after coming back online. + public static final long OMEMO_AUTO_EXPIRY = 42 * MILLISECONDS_IN_DAY; + public static final boolean REMOVE_BROKEN_DEVICES = false; public static final boolean OMEMO_PADDING = false; public static final boolean PUT_AUTH_TAG_INTO_KEY = true;