Don't fetchUnread for main account

This commit is contained in:
the-djmaze 2022-12-13 09:54:39 +01:00
parent f98f1db441
commit 3ccf70e5cd

View file

@ -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);
}
/**