Monotone-Parent: a2b439e6942cf7fae5cee8b06159f0a6c4ac6ba6

Monotone-Revision: 6c4b67f10763651f27f21ba2134b29a42250c6e4

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-01-04T16:05:12
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2010-01-04 16:05:12 +00:00
parent 524cba9bfd
commit ea156c6474

View file

@ -34,17 +34,13 @@
- (id) init - (id) init
{ {
SOGoUserDefaults *ud;
if ((self = [super init])) if ((self = [super init]))
{ {
SOGoUserDefaults *ud;
ud = [[context activeUser] userDefaults]; ud = [[context activeUser] userDefaults];
htmlComposition
// Backward comptability with <= 1.1.0 (ComposeMessagesType) = [[ud mailComposeMessageType] isEqualToString: @"html"];
if ([ud objectForKey: @"ComposeMessagesType"])
htmlComposition = [[ud objectForKey: @"ComposeMessagesType"] isEqualToString: @"html"];
else
htmlComposition = [[ud objectForKey: @"SOGoMailComposeMessageType"] isEqualToString: @"html"];
sourceMail = nil; sourceMail = nil;
currentValue = nil; currentValue = nil;
} }