mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
(fix) remaining S/MIME fixes to handle image/CIDs in HTML mails
This commit is contained in:
@@ -203,7 +203,7 @@ static BOOL showNamedTextAttachmentsInline = NO;
|
||||
else if ([mt isEqualToString: @"text"])
|
||||
{
|
||||
if ([st isEqualToString: @"plain"] || [st isEqualToString: @"html"]) {
|
||||
if (!showNamedTextAttachmentsInline && [self _shouldDisplayAsAttachment: _info textPart:YES])
|
||||
if (!showNamedTextAttachmentsInline && [self _shouldDisplayAsAttachment: _info textPart: YES])
|
||||
return [self linkViewer];
|
||||
|
||||
return [st isEqualToString: @"html"]
|
||||
@@ -219,7 +219,7 @@ static BOOL showNamedTextAttachmentsInline = NO;
|
||||
if ([mt isEqualToString: @"image"] &&
|
||||
!([st isEqualToString: @"tiff"] || [st isEqualToString: @"pdf"]))
|
||||
{
|
||||
if ([self _shouldDisplayAsAttachment: _info textPart: NO])
|
||||
if ([self _shouldDisplayAsAttachment: _info textPart: NO])
|
||||
return [self linkViewer];
|
||||
|
||||
return [self imageViewer];
|
||||
|
||||
Reference in New Issue
Block a user