mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-06 23:43:19 +00:00
bugfix PreventInvitation
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user