This commit is contained in:
mkaply%us.ibm.com 2001-07-13 16:09:33 +00:00
Родитель d801288b4d
Коммит 344819b9a0
1 изменённых файлов: 6 добавлений и 6 удалений

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

@ -428,11 +428,11 @@ nsMsgNewsFolder::UpdateFolder(nsIMsgWindow *aWindow)
if (NS_SUCCEEDED(rv))
rv = mDatabase->ApplyRetentionSettings(retentionSettings);
}
rv = AutoCompact(aWindow);
NS_ENSURE_SUCCESS(rv,rv);
// GetNewMessages has to be the last rv set before we get to the next check, so
// that we'll have rv set to NS_MSG_ERROR_OFFLINE when offline and send
// a folder loaded notification to the front end.
rv = AutoCompact(aWindow);
NS_ENSURE_SUCCESS(rv,rv);
// GetNewMessages has to be the last rv set before we get to the next check, so
// that we'll have rv set to NS_MSG_ERROR_OFFLINE when offline and send
// a folder loaded notification to the front end.
rv = GetNewMessages(aWindow, nsnull);
}
if (rv == NS_MSG_ERROR_OFFLINE)
@ -1023,7 +1023,7 @@ nsMsgNewsFolder::DeleteMessages(nsISupportsArray *messages, nsIMsgWindow *aMsgWi
}
NS_IMETHODIMP nsMsgNewsFolder::GetNewMessages(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener)
{
{
NS_ASSERTION(aListener == nsnull, "news can't currently listen for this finishing");
return GetNewsMessages(aMsgWindow, PR_FALSE);
}