changeset 15568:7f4835cff04a

lib-index: Fixed sequence lookup of newly created mails in transaction view.
author lion@ubuntu.ubuntu-domain
date Fri, 07 Dec 2012 08:50:35 +0400
parents 32ce915e046a
children c9e6ad8a42db
files src/lib-index/mail-index-transaction-view.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-transaction-view.c	Wed Dec 19 15:00:45 2012 +0200
+++ b/src/lib-index/mail-index-transaction-view.c	Fri Dec 07 08:50:35 2012 +0400
@@ -203,7 +203,7 @@
 			if (first_uid <= rec->uid)
 				break;
 		}
-		if (seq > tview->t->last_new_seq) {
+		if (seq > tview->t->last_new_seq || rec->uid > last_uid) {
 			/* no messages in range */
 			return;
 		}