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

pull/195/merge
Ludovic Marcotte 2016-02-03 15:53:12 -05:00
parent 1eced8bcec
commit 0e2b1e41a7
2 changed files with 5 additions and 1 deletions

1
NEWS
View File

@ -8,6 +8,7 @@ Bug fixes
- fixed blank calendar view when selecting "Descending Order" in the sort menu
- show active user's default email address instead of system email address (#3473)
- fixed display of HTML tags when viewing a message raw source (#3490)
- fixed IMIP accept/decline when there is only one MIME part
3.0.0 (2016-01-27)
------------------

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