Monotone-Parent: b0de250ad5fa2e4afb2daba52426ee8123e26ef1

Monotone-Revision: 6ab1e30417c6d736d1e01fa379f1ef179d460ba7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-04-12T13:57:41
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-04-12 13:57:41 +00:00
parent 820714fb17
commit 141933f9eb
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1141,7 +1141,7 @@ static NSString *userAgent = nil;
if ((s = [self contentTypeForAttachmentWithName:_name]) != nil) {
[map setObject:s forKey: @"content-type"];
if ([s hasPrefix: @"text/"])
if ([s hasPrefix: @"text/plain"] || [s hasPrefix: @"text/html"])
attachAsString = YES;
else if ([s hasPrefix: @"message/rfc822"])
is7bit = YES;