43411 sr=bienvenu. Implementing expunge inbox on exit for imap servers.Changing Compact()'s

definition
This commit is contained in:
naving%netscape.com 2000-12-17 01:19:26 +00:00
Родитель e9dc162b48
Коммит 753a0c99ad
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -875,13 +875,13 @@ NS_IMETHODIMP nsImapMailFolder::GetNoSelect(PRBool *aResult)
NS_ENSURE_ARG_POINTER(aResult);
return GetFlag(MSG_FOLDER_FLAG_IMAP_NOSELECT, aResult);
}
NS_IMETHODIMP nsImapMailFolder::Compact()
NS_IMETHODIMP nsImapMailFolder::Compact(nsIUrlListener *aListener)
{
nsresult rv;
NS_WITH_SERVICE(nsIImapService, imapService, kCImapService, &rv);
if (NS_SUCCEEDED(rv) && imapService)
{
rv = imapService->Expunge(m_eventQueue, this, nsnull, nsnull);
rv = imapService->Expunge(m_eventQueue, this, aListener, nsnull);
}
return rv;
}