아래 코드를 사용하고 동일한 스레드에 속한 모든 메시지를 검색하려고합니다. 그러나 항상 선택된 메시지 세부 정보 만 반환합니다. 이미 색인 생성이 완료되어야하는 메시지가 이미 1 시간 있습니다. 또한 내가 여러 스레드 있지만이 같은 결과를 시도했다. 여기에 뭐가 있는지 조언 해주세요.Thunderbird 확장 코드가 모든 스레드를 반환하지 않음
this.query =
Gloda.getMessageCollectionForHeaders([msgHdr], {
onItemsAdded: function (aItems) {},
onItemsModified: function() {},
onItemsRemoved: function() {},
onQueryCompleted: function (aCollection) {
add("\t\t\t/---------------------------\\\n");
add("\t\t\t| vik Gloda results |\n");
add("\t\t\t\\---------------------------/\n\n");
add("Gloda found "+aCollection.items.length+" items\n");
// Iterator over the messages Gloda found...
for each (let [i, glodaMsg] in Iterator(aCollection.items)) {
add("This message is from: "+glodaMsg.from+"\n");
add("This message is to: "+glodaMsg.to+"\n");
add("This message is from lists: "+glodaMsg.mailingLists+"\n");
}
},
}, true)
;