mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 21:37:15 +00:00
Fix handling of public access rights of Calendars
This commit is contained in:
1 parent
b89752cd39
commit
429a3bedb9
1 file changed
+7
-4
@@ -124,10 +124,13 @@
|
||||
|
||||
if ([currentValue isEqualToString: @"None"])
|
||||
[self removeAllRightsFromList: rightsForType];
|
||||
else if ([rightsForType containsObject: currentValue])
|
||||
[self appendExclusiveRight: [NSString stringWithFormat: @"%@%@",
|
||||
currentType, currentValue]
|
||||
fromList: rightsForType];
|
||||
else
|
||||
{
|
||||
currentValue = [NSString stringWithFormat: @"%@%@", currentType, currentValue];
|
||||
if ([rightsForType containsObject: currentValue])
|
||||
[self appendExclusiveRight: currentValue
|
||||
fromList: rightsForType];
|
||||
}
|
||||
currentType = [types nextObject];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user