mirror of
https://github.com/ghostersk/gowebmail.git
synced 2026-04-17 16:46:01 +01:00
fix the layout and email input for sending message
This commit is contained in:
@@ -163,6 +163,11 @@ func (s *Scheduler) doSync(account *models.EmailAccount) (int, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
// Skip folders that the user has disabled sync on
|
||||
if !dbFolder.SyncEnabled {
|
||||
continue
|
||||
}
|
||||
|
||||
days := account.SyncDays
|
||||
if days <= 0 || account.SyncMode == "all" {
|
||||
days = 36500 // ~100 years = full mailbox
|
||||
|
||||
Reference in New Issue
Block a user