Bug 242708 Custom folder chosen as Junk folder has Junk icon, but keeps it even when not being the Junk folder anymore

patch by durbacher@gmx.de r=mscott sr=bienvenu
This commit is contained in:
timeless%mozdev.org 2004-05-19 00:25:18 +00:00
Родитель 090fac7ee5
Коммит 7e24d71eb1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2103,10 +2103,10 @@ nsMsgIncomingServer::SetSpamSettings(nsISpamSettings *aSpamSettings)
// remove the MSG_FOLDER_FLAG_JUNK on the old junk folder
// XXX TODO
// JUNK MAIL RELATED
// in SetFlag, we need to make sure that this folder
// (in ClearFlag?) we need to make sure that this folder
// is not a the junk folder for another account
// the same goes for set flag. have fun with all that.
oldJunkFolder->SetFlag(~MSG_FOLDER_FLAG_JUNK);
oldJunkFolder->ClearFlag(MSG_FOLDER_FLAG_JUNK);
}
}