mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 23:07:12 +00:00
Revert "Fix HTML content type when attaching files"
This reverts commit 970f5e5bfe.
This commit is contained in:
1 parent
8d115733c3
commit
ccdb968e22
1 file changed
+1
-1
@@ -639,7 +639,6 @@ static NSArray *infoKeys = nil;
|
||||
|
||||
co = [self clientObject];
|
||||
[co fetchInfo];
|
||||
[co setIsHTML: isHTML];
|
||||
|
||||
if ([[mimeType type] isEqualToString: @"multipart"])
|
||||
{
|
||||
@@ -649,6 +648,7 @@ static NSArray *infoKeys = nil;
|
||||
{
|
||||
info = [self infoFromRequest];
|
||||
[co setHeaders: info];
|
||||
[co setIsHTML: isHTML];
|
||||
[co setText: (isHTML ? [NSString stringWithFormat: @"<html>%@</html>", text] : text)];;
|
||||
error = [co storeInfo];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user