bugfix PreventInvitation

This commit is contained in:
Alexandre Cloutier committed 2014-09-09 11:30:00 -04:00
1 parent 8c8e7d24a7
commit 9a380f711c
3 files changed
+63 -59

No files matched your search

+3 -2
View File
@@ -652,13 +652,14 @@ static NSArray *reminderValues = nil;
return whiteList;
}
- (void) setWhiteList: (NSArray *) whiteList
- (void) setWhiteList: (NSString *) whiteListString
{
SOGoUserSettings *us;
NSMutableDictionary *moduleSettings;
us = [user userSettings];
moduleSettings = [us objectForKey: @"Calendar"];
[moduleSettings setObject: whiteList forKey: @"PreventInvitationsWhitelist"];
[moduleSettings setObject: whiteListString forKey: @"PreventInvitationsWhitelist"];
[us synchronize];
}