Monotone-Parent: 3d26091bec393e3abf8d2b6033e0737e09c207b9

Monotone-Revision: c110b42afb9f73f9a8ea6c766ec8e46b798c7316

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-22T18:37:58
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-02-22 18:37:58 +00:00
parent 8cef32c611
commit 68e8a28846
3 changed files with 14 additions and 0 deletions
+9
View File
@@ -88,6 +88,7 @@
_viewURL = nil;
_kindField = nil;
_multipleBookingsField = nil;
_imapHostField = nil;
}
return self;
@@ -103,6 +104,7 @@
[_viewURL release];
[_kindField release];
[_multipleBookingsField release];
[_imapHostField release];
[super dealloc];
}
@@ -118,6 +120,7 @@
ASSIGN(_mailFields, [udSource objectForKey: @"MailFieldNames"]);
ASSIGN(_userPasswordAlgorithm, [udSource objectForKey: @"userPasswordAlgorithm"]);
ASSIGN(_imapLoginField, [udSource objectForKey: @"IMAPLoginFieldName"]);
ASSIGN(_imapHostField, [udSource objectForKey: @"IMAPHostFieldName"]);
ASSIGN(_kindField, [udSource objectForKey: @"KindFieldName"]);
ASSIGN(_multipleBookingsField, [udSource objectForKey: @"MultipleBookingsFieldName"]);
@@ -505,6 +508,12 @@
}
[response setObject: emails forKey: @"c_emails"];
if (_imapHostField)
{
value = [response objectForKey: _imapHostField];
if ([value isNotNull])
[response setObject: value forKey: @"c_imaphostname"];
}
// We check if the user can authenticate
if (_authenticationFilter)