From c1231cdf52524bfc75cfce86524e8427bbdee6f4 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 22 Aug 2000 23:43:31 +0000 Subject: use BODY.PEEK, not BODY, so we don't set the message \Seen. * providers/imap/camel-imap-folder.c (imap_protocol_get_summary_specifier): use BODY.PEEK, not BODY, so we don't set the message \Seen. svn path=/trunk/; revision=4970 --- camel/ChangeLog | 6 ++++++ camel/providers/imap/camel-imap-folder.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 9204c85941..4bfae9b009 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2000-08-22 Dan Winship + + * providers/imap/camel-imap-folder.c + (imap_protocol_get_summary_specifier): use BODY.PEEK, not BODY, so + we don't set the message \Seen. + 2000-08-22 Christopher James Lahey * providers/pop3/camel-pop3-store.c: Fixed a small warning. diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 2118554607..5730002af4 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -1065,7 +1065,7 @@ imap_protocol_get_summary_specifier (CamelFolder *folder) char *headers_wanted = "SUBJECT FROM TO CC DATE MESSAGE-ID REFERENCES IN-REPLY-TO"; if (CAMEL_IMAP_STORE (folder->parent_store)->server_level >= IMAP_LEVEL_IMAP4REV1) { - sect_begin = "BODY[HEADER.FIELDS"; + sect_begin = "BODY.PEEK[HEADER.FIELDS"; sect_end = "]"; } else { sect_begin = "RFC822.HEADER.LINES"; -- cgit v1.2.3