Skip to content

Commit

Permalink
fix(calendar): Fix inaccessibility to personal calendar on Mac OS X V…
Browse files Browse the repository at this point in the history
…entura. Fixes #5639
  • Loading branch information
WoodySlum committed Dec 13, 2022
1 parent 6ee8f76 commit a7f3daa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SoObjects/Appointments/SOGoAppointmentFolder.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ typedef enum {
startDate: (NSCalendarDate **) theStartDate
endDate: (NSCalendarDate **) theEndDate;

- (void) setDavDescription:(NSString *)description;
- (NSException *)setDavDescription:(NSString *)description;
- (NSString *) davDescription;

@end
Expand Down
8 changes: 6 additions & 2 deletions SoObjects/Appointments/SOGoAppointmentFolder.m
Original file line number Diff line number Diff line change
Expand Up @@ -2591,10 +2591,14 @@ - (SOGoWebDAVValue *) davCalendarComponentSet
return componentSet;
}

- (void) setDavDescription: (NSString *) description
- (NSException *) setDavDescription: (NSString *) description
{
[self setFolderPropertyValue: description
if (description) {
[self setFolderPropertyValue: description
inCategory: @"DavDescription"];
}

return nil;
}

- (NSString *) davDescription
Expand Down

0 comments on commit a7f3daa

Please sign in to comment.