mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-03 17:39:45 +00:00
fix(mail): use .eml extension for message/global body parts
See RFC 6532
This commit is contained in:
@@ -281,7 +281,8 @@
|
||||
if ([_st isEqualToString:@"x-vcard"]) return @"vcf";
|
||||
}
|
||||
else if ([_mt isEqualToString:@"message"]) {
|
||||
if ([_st isEqualToString:@"rfc822"]) return @"eml";
|
||||
if ([_st isEqualToString:@"rfc822"] || [_st isEqualToString:@"global"])
|
||||
return @"eml";
|
||||
}
|
||||
else if ([_mt isEqualToString:@"application"]) {
|
||||
if ([_st isEqualToString:@"pdf"]) return @"pdf";
|
||||
|
||||
Reference in New Issue
Block a user