mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
Fix handling of public access rights of Calendars
This commit is contained in:
@@ -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