(fix) IMIP accept/decline when there is only one MIME part

This commit is contained in:
Ludovic Marcotte committed 2016-02-03 15:53:12 -05:00
1 parent 1eced8bcec
commit 0e2b1e41a7
2 files changed
+5 -1

No files matched your search

+4 -1
View File
@@ -334,7 +334,10 @@
bodyPart = [self clientPart];
return [NSString stringWithFormat: @"%@/%@", [bodyPart nameInContainer], [self _filenameForAttachment: bodyPart]];
if ([bodyPart isKindOfClass: [SOGoMailBodyPart class]])
return [NSString stringWithFormat: @"%@/%@", [bodyPart nameInContainer], [self _filenameForAttachment: bodyPart]];
return @"0";
}
- (NSString *) pathToAttachment