Set checkMailInterval to 15 minutes by default (now that it is configurable)

This commit is contained in:
the-djmaze 2023-02-02 14:43:22 +01:00
parent acc1c0badc
commit e01af6a7ac
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ export const SettingsUserStore = new class {
const self = this;
self.messagesPerPage = ko.observable(25).extend({ debounce: 999 });
self.checkMailInterval = ko.observable(5).extend({ debounce: 999 });
self.checkMailInterval = ko.observable(15).extend({ debounce: 999 });
self.messageReadDelay = ko.observable(5).extend({ debounce: 999 });
addObservablesTo(self, {

View file

@ -712,7 +712,7 @@ class Actions
'HideDeleted' => true,
'ShowUnreadCount' => false,
'UnhideKolabFolders' => false,
'CheckMailInterval' => 5,
'CheckMailInterval' => 15,
'UserBackgroundName' => '',
'UserBackgroundHash' => '',
'SieveAllowFileintoInbox' => (bool)$oConfig->Get('labs', 'sieve_allow_fileinto_inbox', false)

View file

@ -220,7 +220,7 @@ trait Accounts
$aResult['HideDeleted'] = (bool) $oSettingsLocal->GetConf('HideDeleted', true);
$aResult['ShowUnreadCount'] = (bool) $oSettingsLocal->GetConf('ShowUnreadCount', false);
$aResult['UnhideKolabFolders'] = (bool) $oSettingsLocal->GetConf('UnhideKolabFolders', false);
$aResult['CheckMailInterval'] = (int) $oSettingsLocal->GetConf('CheckMailInterval', 5);
$aResult['CheckMailInterval'] = (int) $oSettingsLocal->GetConf('CheckMailInterval', 15);
}
// $this->Plugins()->InitAppData($bAdmin, $aResult, $oAccount);