mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-17 17:28:12 +00:00
fix(mail): use .eml extension for message/global body parts
See RFC 6532
This commit is contained in:
1 parent
b0c5adf525
commit
179992c092
1 file changed
+2
-1
@@ -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