mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 11:37:41 +03:00
Set checkMailInterval to 15 minutes by default (now that it is configurable)
This commit is contained in:
parent
acc1c0badc
commit
e01af6a7ac
3 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ export const SettingsUserStore = new class {
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|
||||||
self.messagesPerPage = ko.observable(25).extend({ debounce: 999 });
|
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 });
|
self.messageReadDelay = ko.observable(5).extend({ debounce: 999 });
|
||||||
|
|
||||||
addObservablesTo(self, {
|
addObservablesTo(self, {
|
||||||
|
|
|
||||||
|
|
@ -712,7 +712,7 @@ class Actions
|
||||||
'HideDeleted' => true,
|
'HideDeleted' => true,
|
||||||
'ShowUnreadCount' => false,
|
'ShowUnreadCount' => false,
|
||||||
'UnhideKolabFolders' => false,
|
'UnhideKolabFolders' => false,
|
||||||
'CheckMailInterval' => 5,
|
'CheckMailInterval' => 15,
|
||||||
'UserBackgroundName' => '',
|
'UserBackgroundName' => '',
|
||||||
'UserBackgroundHash' => '',
|
'UserBackgroundHash' => '',
|
||||||
'SieveAllowFileintoInbox' => (bool)$oConfig->Get('labs', 'sieve_allow_fileinto_inbox', false)
|
'SieveAllowFileintoInbox' => (bool)$oConfig->Get('labs', 'sieve_allow_fileinto_inbox', false)
|
||||||
|
|
|
||||||
|
|
@ -220,7 +220,7 @@ trait Accounts
|
||||||
$aResult['HideDeleted'] = (bool) $oSettingsLocal->GetConf('HideDeleted', true);
|
$aResult['HideDeleted'] = (bool) $oSettingsLocal->GetConf('HideDeleted', true);
|
||||||
$aResult['ShowUnreadCount'] = (bool) $oSettingsLocal->GetConf('ShowUnreadCount', false);
|
$aResult['ShowUnreadCount'] = (bool) $oSettingsLocal->GetConf('ShowUnreadCount', false);
|
||||||
$aResult['UnhideKolabFolders'] = (bool) $oSettingsLocal->GetConf('UnhideKolabFolders', 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);
|
// $this->Plugins()->InitAppData($bAdmin, $aResult, $oAccount);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue