Bug #243852 --> reverse the logic on when we block remote images.

Fixes the regression introduced by Bug #191839.

Effects thunderbird only.
This commit is contained in:
scott%scott-macgregor.org 2004-05-20 06:09:19 +00:00
Родитель c1609e013d
Коммит 77ca4b4c30
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -147,8 +147,8 @@ nsMsgContentPolicy::ShouldLoad(PRUint32 aContentType,
if (needToCheck) // http or https ?
{
// check the 'disable remote images pref' and block the image if appropriate
*aDecision = mBlockRemoteImages ? nsIContentPolicy::ACCEPT :
nsIContentPolicy::REJECT_REQUEST;
*aDecision = mBlockRemoteImages ? nsIContentPolicy::REJECT_REQUEST :
nsIContentPolicy::ACCEPT;
}
}
}