зеркало из https://github.com/mozilla/pjs.git
fix 240465 new flag on local folder which has messages filtered into it doesn't get cleared when last new message is read, sr=mscott
This commit is contained in:
Родитель
a8f8507102
Коммит
7ebaf35f61
|
@ -2252,7 +2252,9 @@ NS_IMETHODIMP nsMsgDatabase::MarkReadByDate (PRTime startDate, PRTime endDate, n
|
|||
|
||||
NS_IMETHODIMP nsMsgDatabase::AddToNewList(nsMsgKey key)
|
||||
{
|
||||
return m_newSet.Add(key);
|
||||
if (m_newSet.IndexOf(key) == kNotFound)
|
||||
m_newSet.Add(key);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче