changeset 140:f62c2eee1fa8 HEAD

mail_index_uidset_foreach() now never replies with "some messages weren't read". that's mostly a problem with non-UID fetches and a bit annoying to handle if last message was expunged.
author Timo Sirainen <tss@iki.fi>
date Wed, 04 Sep 2002 00:17:57 +0300
parents 71246aeb262d
children 4d657b92448f
files src/lib-index/mail-messageset.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-messageset.c	Wed Sep 04 00:12:21 2002 +0300
+++ b/src/lib-index/mail-messageset.c	Wed Sep 04 00:17:57 2002 +0300
@@ -263,7 +263,7 @@
 		return -1;
 	}
 
-	return !expunges_found && uid == uid2 ? 1 : 2;
+	return 1;
 }
 
 int mail_index_uidset_foreach(MailIndex *index, const char *uidset,