Bug #244457 -> Don't show vCards as external attachments. Fixes the problem the previous patch introduced when displaying attachments as NOT inline.

This commit is contained in:
scott%scott-macgregor.org 2004-05-25 00:37:36 +00:00
Родитель 3c9a7eb176
Коммит cf1eb34db9
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -390,7 +390,9 @@ var messageHeaderSink = {
{
// presentation level change....don't show vcards as external attachments in the UI.
// libmime already renders them inline.
if (contentType == "text/x-vcard")
var inlineAttachments = pref.getBoolPref("mail.inline_attachments");
if (inlineAttachments && contentType == "text/x-vcard")
return;
currentAttachments.push (new createNewAttachmentInfo(contentType, url, displayName, uri, notDownloaded));