From 3b28119a8b964f21352acf39e6c480771465f46b Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Tue, 21 Feb 2006 15:15:19 +0000 Subject: [PATCH] set mru time on imap folder when message copied into it, part of work for 251296, sr=mscott --- mailnews/imap/src/nsImapMailFolder.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mailnews/imap/src/nsImapMailFolder.cpp b/mailnews/imap/src/nsImapMailFolder.cpp index 9deb7e29dd5d..28b208be10e4 100644 --- a/mailnews/imap/src/nsImapMailFolder.cpp +++ b/mailnews/imap/src/nsImapMailFolder.cpp @@ -6774,6 +6774,9 @@ nsImapMailFolder::CopyMessages(nsIMsgFolder* srcFolder, nsCOMPtr srcSupport; nsCOMPtr copySupport; + if (!(mFlags & MSG_FOLDER_FLAG_TRASH|MSG_FOLDER_FLAG_JUNK)) + SetMRUTime(); + if (WeAreOffline()) return CopyMessagesOffline(srcFolder, messages, isMove, msgWindow, listener);