зеркало из https://github.com/mozilla/pjs.git
fix setting of mru time for folders when msgs copied into them, and bad operator precedence for listing acl for non-namespaces, sr=mscott
This commit is contained in:
Родитель
cf5898539b
Коммит
0126530f90
|
@ -6774,7 +6774,7 @@ nsImapMailFolder::CopyMessages(nsIMsgFolder* srcFolder,
|
|||
nsCOMPtr<nsISupports> srcSupport;
|
||||
nsCOMPtr<nsISupports> copySupport;
|
||||
|
||||
if (!(mFlags & MSG_FOLDER_FLAG_TRASH|MSG_FOLDER_FLAG_JUNK))
|
||||
if (!(mFlags & (MSG_FOLDER_FLAG_TRASH|MSG_FOLDER_FLAG_JUNK)))
|
||||
SetMRUTime();
|
||||
|
||||
if (WeAreOffline())
|
||||
|
@ -7626,7 +7626,7 @@ NS_IMETHODIMP nsImapMailFolder::GetFolderNeedsACLListed(PRBool *bVal)
|
|||
PRBool dontNeedACLListed = !m_folderNeedsACLListed;
|
||||
// if we haven't acl listed, and it's not a no select folder or the inbox,
|
||||
// then we'll list the acl if it's not a namespace.
|
||||
if (m_folderNeedsACLListed && !(mFlags & MSG_FOLDER_FLAG_IMAP_NOSELECT | MSG_FOLDER_FLAG_INBOX))
|
||||
if (m_folderNeedsACLListed && !(mFlags & (MSG_FOLDER_FLAG_IMAP_NOSELECT | MSG_FOLDER_FLAG_INBOX)))
|
||||
GetIsNamespace(&dontNeedACLListed);
|
||||
|
||||
*bVal = !dontNeedACLListed;
|
||||
|
|
Загрузка…
Ссылка в новой задаче