changeset 601:bfa9ab91eba7 HEAD

FETCH RFC822 and RFC822.TEXT also needs to set \Seen flag for message
author Timo Sirainen <tss@iki.fi>
date Wed, 13 Nov 2002 02:14:46 +0200
parents 3b44bc64afd4
children 03ea377ed93b
files src/lib-storage/index/index-fetch.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/index-fetch.c	Tue Nov 12 07:27:30 2002 +0200
+++ b/src/lib-storage/index/index-fetch.c	Wed Nov 13 02:14:46 2002 +0200
@@ -359,6 +359,9 @@
 				break;
 			}
 		}
+
+		if (fetch_data->rfc822 || fetch_data->rfc822_text)
+			ctx.update_seen = TRUE;
 	}
 
 	/* need exclusive lock to update the \Seen flags */