mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-24 03:38:54 +00:00
(fix) ensure calendar objects have a (fake) filename
This commit is contained in:
1 parent
619e9fe7dd
commit
a145fdbb53
1 file changed
+2
@@ -777,6 +777,8 @@ static BOOL debugSoParts = NO;
|
||||
filename = [NSString stringWithFormat: @"unknown_%@", path];
|
||||
else if ([mimeType isEqualToString: @"message/rfc822"])
|
||||
filename = [NSString stringWithFormat: @"email_%@.eml", path];
|
||||
else if ([mimeType isEqualToString: @"text/calendar"])
|
||||
filename = [NSString stringWithFormat: @"calendar_%@.ics", path];
|
||||
|
||||
|
||||
if (filename)
|
||||
|
||||
Reference in new issue
Block a user