fix 360409, mail which claims to be a reply to itself, via reference and message-id headers, disappears, sr=mscott
This commit is contained in:
Родитель
b1c39b8f05
Коммит
a4e92a4f2c
|
@ -3753,7 +3753,13 @@ nsresult nsMsgDatabase::ThreadNewHdr(nsMsgHdr* newHdr, PRBool &newThread)
|
|||
replyToHdr->GetMessageKey(&replyToKey);
|
||||
// message claims to be a reply to itself - ignore that since it leads to corrupt threading.
|
||||
if (replyToKey == newHdrKey)
|
||||
continue;
|
||||
{
|
||||
// bad references - throw them all away.
|
||||
newHdr->ParseReferences("");
|
||||
thread = nsnull;
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
thread->GetThreadKey(&threadId);
|
||||
newHdr->SetThreadId(threadId);
|
||||
|
|
Загрузка…
Ссылка в новой задаче