mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
100871 compacting offline imap stores marks messages read r=navin, sr=sspitzer
This commit is contained in:
parent
f4cf458eb8
commit
516c10fce9
@ -1247,13 +1247,14 @@ NS_IMETHODIMP nsImapUrl::SetMsgLoadingFromCache(PRBool loadingFromCache)
|
||||
if (loadingFromCache)
|
||||
{
|
||||
nsCOMPtr<nsIMsgFolder> folder;
|
||||
nsMsgKey key;
|
||||
nsMsgKey key;
|
||||
|
||||
nsresult rv = NS_OK;
|
||||
nsCAutoString folderURI;
|
||||
rv = nsParseImapMessageURI(mURI.get(), folderURI, &key, nsnull);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (m_imapAction != nsImapMsgFetch) // only do this on msg fetch, i.e., if user is reading msg.
|
||||
return rv;
|
||||
rv = GetMsgFolder(getter_AddRefs(folder));
|
||||
|
||||
nsCOMPtr <nsIMsgDatabase> database;
|
||||
|
Loading…
x
Reference in New Issue
Block a user