зеркало из https://github.com/mozilla/pjs.git
changes for sub-level threading
This commit is contained in:
Родитель
966a4db9f6
Коммит
b4f9292c9b
|
@ -38,7 +38,7 @@ interface nsIMsgThread : nsISupports {
|
|||
nsIMsgDBHdr GetChildAt(in long index);
|
||||
nsIMsgDBHdr GetChild(in nsMsgKey msgKey);
|
||||
nsIMsgDBHdr GetChildHdrAt(in long index);
|
||||
|
||||
nsIMsgDBHdr GetRootHdr(out long index);
|
||||
void RemoveChildAt(in long index);
|
||||
void RemoveChildHdr(in nsIMsgDBHdr child);
|
||||
|
||||
|
|
|
@ -718,7 +718,7 @@ PRBool nsMessageViewDataSource::IsThreadsFirstMessage(nsIMsgThread *thread, nsIM
|
|||
nsCOMPtr<nsIMsgDBHdr> firstHdr;
|
||||
nsresult rv;
|
||||
|
||||
rv = thread->GetChildHdrAt(0, getter_AddRefs(firstHdr));
|
||||
rv = thread->GetRootHdr(nsnull, getter_AddRefs(firstHdr));
|
||||
if(NS_FAILED(rv))
|
||||
return PR_FALSE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче