mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Don't fetchUnread for main account
This commit is contained in:
parent
f98f1db441
commit
3ccf70e5cd
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ export class AccountModel extends AbstractModel {
|
|||
});
|
||||
|
||||
// Load at random between 3 and 30 seconds
|
||||
setTimeout(()=>this.fetchUnread(), (Math.ceil(Math.random() * 10)) * 3000);
|
||||
isAdditional && setTimeout(()=>this.fetchUnread(), (Math.ceil(Math.random() * 10)) * 3000);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue