зеркало из https://github.com/mozilla/pjs.git
90640 r=bienvenu sr=sspitzer. Make the MarkFlagged filter action work for IMAP
This commit is contained in:
Родитель
0185d69fcd
Коммит
bdfd212850
|
@ -2799,7 +2799,12 @@ NS_IMETHODIMP nsImapMailFolder::ApplyFilterHit(nsIMsgFilter *filter, PRBool *app
|
||||||
// MarkFilteredMessageRead(msgHdr);
|
// MarkFilteredMessageRead(msgHdr);
|
||||||
break;
|
break;
|
||||||
case nsMsgFilterAction::MarkFlagged:
|
case nsMsgFilterAction::MarkFlagged:
|
||||||
msgHdr->MarkFlagged(PR_TRUE);
|
{
|
||||||
|
nsMsgKeyArray keysToFlag;
|
||||||
|
|
||||||
|
keysToFlag.Add(msgKey);
|
||||||
|
StoreImapFlags(kImapMsgFlaggedFlag, PR_TRUE, keysToFlag.GetArray(), keysToFlag.GetSize());
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case nsMsgFilterAction::KillThread:
|
case nsMsgFilterAction::KillThread:
|
||||||
// for ignore and watch, we will need the db
|
// for ignore and watch, we will need the db
|
||||||
|
|
Загрузка…
Ссылка в новой задаче