add new hdrs to db and turn on notification by default

This commit is contained in:
bienvenu%netscape.com 1999-02-26 06:01:26 +00:00
parent 98702cb2df
commit f4a2d1d5a8

View File

@ -144,7 +144,7 @@ nsMsgMailboxParser::nsMsgMailboxParser() : nsMsgLineBuffer(NULL, PR_FALSE)
m_ibuffer_fp = 0;
m_graph_progress_total = 0;
m_graph_progress_received = 0;
m_updateAsWeGo = FALSE;
m_updateAsWeGo = PR_TRUE;
m_ignoreNonMailFolder = PR_FALSE;
m_isRealMailFolder = PR_TRUE;
}
@ -278,7 +278,7 @@ PRInt32 nsMsgMailboxParser::PublishMsgHeader()
}
else if (m_mailDB != NULL)
{
// m_mailDB->AddHdrToDB(m_newMsgHdr, NULL, m_updateAsWeGo);
m_mailDB->AddNewHdrToDB(m_newMsgHdr, m_updateAsWeGo);
// should we release here?
m_newMsgHdr = NULL;
}