From 88524464bc464ef5c30884b5c0b891e5137c94d7 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 8 Aug 2023 15:01:58 +0200 Subject: [PATCH] Skip inheriting system folder poll settings --- app/src/main/java/eu/faircode/email/EntityFolder.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/EntityFolder.java b/app/src/main/java/eu/faircode/email/EntityFolder.java index bba2043918..db27b4a592 100644 --- a/app/src/main/java/eu/faircode/email/EntityFolder.java +++ b/app/src/main/java/eu/faircode/email/EntityFolder.java @@ -328,8 +328,10 @@ public class EntityFolder extends EntityOrder implements Serializable { return; this.synchronize = parent.synchronize; - this.poll = parent.poll; - this.poll_factor = parent.poll_factor; + if (EntityFolder.USER.equals(parent.type)) { + this.poll = parent.poll; + this.poll_factor = parent.poll_factor; + } this.download = parent.download; //this.auto_classify_source = parent.auto_classify_source; //this.auto_classify_target = parent.auto_classify_target;