Monotone-Parent: a2b439e6942cf7fae5cee8b06159f0a6c4ac6ba6

Monotone-Revision: 6c4b67f10763651f27f21ba2134b29a42250c6e4

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-01-04T16:05:12
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-01-04 16:05:12 +00:00
parent 524cba9bfd
commit ea156c6474
1 changed files with 4 additions and 8 deletions

View File

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