supplimental fix for bug #180857

make spam-status more strongly bound to the message on IMAP.
we weren't subtracting the flags correctly.

thanks to bienvenu for the fix.  r/sr=sspitzer, a=asa
This commit is contained in:
sspitzer%netscape.com 2003-01-28 05:17:28 +00:00
parent f8cb9a7c95
commit 4726452fb9

View File

@ -2247,7 +2247,7 @@ void nsImapProtocol::ProcessSelectedStateURL()
if (subtractFlags.Length() > 0)
{
nsCAutoString storeString("-FLAGS (");
storeString.Append(addFlags);
storeString.Append(subtractFlags);
storeString.Append(")");
Store(messageIdString, storeString.get(), PR_TRUE);
}