From decd26206311ad9881a715e0114bc748e63807e8 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 11 Jan 2021 08:37:47 +0100 Subject: [PATCH] Let force sync synchronize all messages --- app/src/main/java/eu/faircode/email/Core.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 6b2ea4fca2..e1fcf178cf 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -2254,6 +2254,8 @@ class Core { int initialize = jargs.optInt(4, folder.initialize); boolean force = jargs.optBoolean(5, false); + if (force) + sync_days = keep_days; if (keep_days == sync_days && keep_days != Integer.MAX_VALUE) keep_days++;