Commit 50c4c271 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 414839 - Folder expiration not automatic

FIXED-IN: 5.13.0
BUG: 414839
parent 37a51966
......@@ -102,10 +102,10 @@ void FolderCollectionMonitor::expireAllCollection(const QAbstractItemModel *mode
if (attr->isAutoExpire()) {
MailCommon::Util::expireOldMessages(collection, immediate);
}
}
if (model->rowCount(index) > 0) {
expireAllCollection(model, immediate, index);
}
if (model->rowCount(index) > 0) {
expireAllCollection(model, immediate, index);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment