mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
(fix) use the correct message class for S/MIME mails
This commit is contained in:
@@ -841,7 +841,7 @@ static BOOL debugSoParts = NO;
|
||||
|
||||
// We set the path to 0 in case of a smime mail if not provided.
|
||||
subtype = [[part objectForKey: @"subtype"] lowercaseString];
|
||||
if ([subtype isEqualToString: @"pkcs7-mime"])
|
||||
if ([subtype isEqualToString: @"pkcs7-mime"] || [subtype isEqualToString: @"x-pkcs7-mime"])
|
||||
path = @"0";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user