fix for bug #190349. fix some problems with choosing an existing folder

as the junk mail folder.  r/sr=bienvenu
This commit is contained in:
sspitzer%netscape.com 2003-03-05 06:40:25 +00:00
Родитель d707cba238
Коммит f5bcc87c97
1 изменённых файлов: 12 добавлений и 0 удалений

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

@ -718,6 +718,18 @@ GetOrCreateFolder(const nsACString &aURI, nsIUrlListener *aListener)
}
}
}
else {
// if the folder exists, we should set the junk flag on it
// which is what the listener will do
if (aListener) {
rv = aListener->OnStartRunningUrl(nsnull);
NS_ENSURE_SUCCESS(rv,rv);
rv = aListener->OnStopRunningUrl(nsnull, NS_OK);
NS_ENSURE_SUCCESS(rv,rv);
}
}
return NS_OK;
}