fix read state for new imap messages getting confused when folder new msg summary tooltips are used, sr=mscott, part of 314124

This commit is contained in:
bienvenu%nventure.com 2006-02-13 05:55:15 +00:00
parent ce919b811f
commit 0ad0d211ca

View File

@ -2154,7 +2154,9 @@ void nsImapProtocol::ProcessSelectedStateURL()
bMessageIdsAreUids, NULL, messageSize, PR_TRUE);
}
}
if (GetServerStateParser().LastCommandSuccessful())
if (GetServerStateParser().LastCommandSuccessful()
&& m_imapAction != nsIImapUrl::nsImapMsgPreview
&& m_imapAction != nsIImapUrl::nsImapMsgFetchPeek)
{
PRUint32 uid = atoi(messageIdString);
PRInt32 index;