changeset 268:7cb03d43a0ea HEAD

Don't save \Recent flag to index.
author Timo Sirainen <tss@iki.fi>
date Tue, 17 Sep 2002 08:17:10 +0300
parents 54b3b82bd73e
children a4eb58705351
files src/lib-storage/index/index-update-flags.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/index-update-flags.c	Tue Sep 17 06:01:25 2002 +0300
+++ b/src/lib-storage/index/index-update-flags.c	Tue Sep 17 08:17:10 2002 +0300
@@ -35,12 +35,12 @@
 		i_assert(0);
 	}
 
+	if (!index->update_flags(index, rec, seq, flags, FALSE))
+		return FALSE;
+
 	if (rec->uid >= index->first_recent_uid)
 		flags |= MAIL_RECENT;
 
-	if (!index->update_flags(index, rec, seq, flags, FALSE))
-		return FALSE;
-
 	if (ctx->func != NULL) {
 		ctx->func(ctx->box, seq, rec->uid, flags,
 			  mail_custom_flags_list_get(ctx->custom_flags),