fix for 250738 imap folders other than inbox not checked for new mail at startup sr=mscott

This commit is contained in:
bienvenu%nventure.com 2004-12-01 17:48:09 +00:00
Родитель dc9ef46d02
Коммит a69bf21383
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -914,16 +914,16 @@ function loadStartFolder(initialUri)
// the folder. i.e. the user just clicked on a news folder they aren't subscribed to from a browser
// the news url comes in here.
SelectFolder(startFolder.URI);
// Perform biff on the server to check for new mail, except for imap
// or a pop3 account that is deferred or deferred to,
// or the case where initialUri is non-null (non-startup)
if (!initialUri && isLoginAtStartUpEnabled && gLoadStartFolder
&& defaultServer.type != "imap" && !defaultServer.isDeferredTo &&
&& !defaultServer.isDeferredTo &&
defaultServer.msgFolder == defaultServer.rootMsgFolder)
defaultServer.PerformBiff(msgWindow);
SelectFolder(startFolder.URI);
// because the "open" state persists, we'll call
// PerformExpand() for all servers that are open at startup.