From 02ecb40dafa321ff6bb1ba463b68a23853da9e8f Mon Sep 17 00:00:00 2001 From: Christoph Hohmann Date: Thu, 10 Apr 2003 18:35:57 +0000 Subject: [PATCH] 0.8.11claws82 * src/imap.c use BODY.PEEK instead of BODY in in message fetch operation to make sure the IMAP server does not set the \Seen flag for messages. Sylpheed does that later itself, when the message is opened in sylpheed (closes Bug 111 Claws destroys unread marks) --- ChangeLog.claws | 10 ++++++++++ configure.ac | 2 +- src/imap.c | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 3e678061d..c38b3121e 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,13 @@ +2003-04-10 [christoph] 0.8.11claws82 + + * src/imap.c + use BODY.PEEK instead of BODY in in message fetch operation + to make sure the IMAP server does not set the \Seen flag for + messages. Sylpheed does that later itself, when the message + is opened in sylpheed + + (closes Bug 111 Claws destroys unread marks) + 2003-04-09 [oliver] 0.8.11claws81 * src/folder.c diff --git a/configure.ac b/configure.ac index 19c0d33c0..19c8565cf 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=8 MICRO_VERSION=11 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws81 +EXTRA_VERSION=claws82 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/imap.c b/src/imap.c index 8dcfd2ea5..255399d6d 100644 --- a/src/imap.c +++ b/src/imap.c @@ -2466,7 +2466,7 @@ static gint imap_cmd_fetch(SockInfo *sock, guint32 uid, const gchar *filename) g_return_val_if_fail(filename != NULL, IMAP_ERROR); - imap_cmd_gen_send(sock, "UID FETCH %d BODY[]", uid); + imap_cmd_gen_send(sock, "UID FETCH %d BODY.PEEK[]", uid); while ((ok = imap_cmd_gen_recv(sock, &buf)) == IMAP_SUCCESS) { -- 2.25.1