fix problem with not reporting server error messages, r=jefft 11970

This commit is contained in:
bienvenu%netscape.com 1999-11-16 02:43:17 +00:00
Родитель 19d94f3391
Коммит 58ef34a7cf
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -4677,6 +4677,7 @@ void nsImapProtocol::OnRefreshACLForFolder(const char *mailboxName)
void nsImapProtocol::OnRefreshAllACLs() void nsImapProtocol::OnRefreshAllACLs()
{ {
GetServerStateParser().SetReportingErrors(PR_TRUE);
// mscott - haven't ported this yet // mscott - haven't ported this yet
} }
@ -5380,7 +5381,8 @@ void nsImapProtocol::DiscoverMailboxList()
if (GetServerStateParser().ServerHasACLCapability()) if (GetServerStateParser().ServerHasACLCapability())
{ {
PRInt32 total = m_listedMailboxList.Count(), cnt = 0; PRInt32 total = m_listedMailboxList.Count(), cnt = 0;
GetServerStateParser().SetReportingErrors(PR_FALSE); // Let's not turn this off here, since we don't turn it on after
// GetServerStateParser().SetReportingErrors(PR_FALSE);
if (total) if (total)
{ {
ProgressEventFunctionUsingId(IMAP_GETTING_ACL_FOR_FOLDER); ProgressEventFunctionUsingId(IMAP_GETTING_ACL_FOR_FOLDER);