fix(calendar): rely on organizer's event state before updating attendee

When an attendee is adding a new event for which the organizer is local
but doesn't have the event anymore, return a 412 error code.

Fixes #5496
This commit is contained in:
Francis Lachapelle
2022-03-24 15:28:06 -04:00
parent 5d2877cf0a
commit fbd2eb8294
2 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ static SoSecurityManager *sm = nil;
[folder setOCSPath: [NSString stringWithFormat: @"%@/%@", OCSPath, folderName]];
if ([folder create])
[subFolders setObject: folder forKey: folderName];
[subFolders setObject: folder forKey: folderName];
}
else if (folderType == SOGoCollectedFolder)
{