Skip to content

Commit

Permalink
feat(mail): Add SOGoMailHideInlineAttachments option to hide attachme…
Browse files Browse the repository at this point in the history
…nts when inline. Fixes #5490.
  • Loading branch information
WoodySlum committed Nov 2, 2023
1 parent abce5f4 commit f41ab2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/MailPartViewers/UIxMailPartMixedViewer.m
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ - (id) renderedPart

if (!([info objectForKey:@"disposition"]
&& [[info objectForKey:@"disposition"] objectForKey:@"type"]
&& [[[info objectForKey:@"disposition"] objectForKey:@"type"] isEqualToString:@"INLINE"]
&& [[[[info objectForKey:@"disposition"] objectForKey:@"type"] uppercaseString] isEqualToString:@"INLINE"]
&& [ud hideInlineAttachments])) {
viewer = [[[self context] mailRenderingContext] viewerForBodyInfo: info];
[viewer setBodyInfo: info];
Expand Down

0 comments on commit f41ab2e

Please sign in to comment.