Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv2639/src/mail

Modified Files:
        MailFolderCC.cpp 
Log Message:
update the display when a new but not recent message appears in the folder

Index: MailFolderCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCC.cpp,v
retrieving revision 1.621
retrieving revision 1.622
diff -b -u -2 -r1.621 -r1.622
--- MailFolderCC.cpp    4 Jun 2002 19:43:02 -0000       1.621
+++ MailFolderCC.cpp    12 Jun 2002 16:46:53 -0000      1.622
@@ -5340,4 +5340,18 @@
       //else: this can possibly happen if they were deleted by another client
    }
+   else // no recent messages
+   {
+      // although normally any new message appearing in the folder must be
+      // recent, there are a few exceptions to this rule:
+      //
+      // 1. if another session has this folder opened, only it might see the
+      //    message as recent whereas we won't
+      //
+      // 2. the IMAP server I use is horribly broken for the moment and the
+      //    new messages don't have the recent flag _at_all_ which is, of
+      //    course, clearly a server bug but Mahogany should still be ready to
+      //    handle such madness
+      shouldNotify = true;
+   }
 
    // no more


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to