aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog9
-rw-r--r--camel/camel-folder-thread.c4
2 files changed, 11 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 1d0109f8ec..9cc4945557 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,12 @@
+2002-05-13 Not Zed <NotZed@Ximian.com>
+
+ * camel-folder-thread.c
+ (camel_folder_thread_messages_new_summary):
+ (camel_folder_thread_messages_new): Since the fix for #3357 uses
+ 'order=0' to indicate tree structure nodes, make sure we dont
+ actually set order=0 for valid messages, otherwise we silently
+ lose duplicates of the first message (i==0). Fixes #19920.
+
2002-05-10 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (imap_get_message): Fetch the
diff --git a/camel/camel-folder-thread.c b/camel/camel-folder-thread.c
index be21ed3239..2427047ed9 100644
--- a/camel/camel-folder-thread.c
+++ b/camel/camel-folder-thread.c
@@ -501,7 +501,7 @@ camel_folder_thread_messages_new(CamelFolder *folder, GPtrArray *uids)
}
c->message = mi;
- c->order = i;
+ c->order = i+1;
child = c;
if (mi->references) {
int j;
@@ -652,7 +652,7 @@ camel_folder_thread_messages_new_summary(GPtrArray *summary)
}
c->message = mi;
- c->order = i;
+ c->order = i+1;
child = c;
if (mi->references) {
int j;