mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-08 18:23:39 +00:00
bugfix PreventInvitation
This commit is contained in:
1 parent
8c8e7d24a7
commit
9a380f711c
3 files changed
+63
-59
No files matched your search
@@ -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