1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 13:44:40 +00:00

Fixed inheriting folder properties

This commit is contained in:
M66B 2023-04-25 16:07:39 +02:00
parent ff81e96432
commit 8e90f3a1ed

View file

@ -324,7 +324,7 @@ public class EntityFolder extends EntityOrder implements Serializable {
void inheritFrom(EntityFolder parent) {
if (parent == null)
return;
if (!EntityFolder.USER.equals(parent.type))
if (!EntityFolder.USER.equals(type))
return;
this.synchronize = parent.synchronize;