Polling Mails is now done with a higher priority

This commit is contained in:
Michael 2020-03-10 09:44:26 +00:00
parent 2b5ef80912
commit b10e334c53

View file

@ -282,7 +282,7 @@ class Cron
}
}
if (($contact['network'] == Protocol::FEED) && ($contact['priority'] <= 3)) {
if ((($contact['network'] == Protocol::FEED) && ($contact['priority'] <= 3)) || ($contact['network'] == Protocol::MAIL)) {
$priority = PRIORITY_MEDIUM;
} elseif ($contact['archive']) {
$priority = PRIORITY_NEGLIGIBLE;