Fix update of participation status via CalDAV

Fixes #2786
pull/40/head
Francis Lachapelle 2014-05-28 11:39:25 -04:00
parent 9eb075cc3f
commit fac9520f64
2 changed files with 3 additions and 2 deletions

1
NEWS
View File

@ -40,6 +40,7 @@ Bug fixes
- fixed reply and forward mail templates for Brazilian Portuguese (#2738)
- fixed newline in signature when forwarding a message as attachment in HTML mode (#2787)
- fixed restoration of options (priority & return receipt) when editing a draft (#193)
- fixed update of participation status via CalDAV (#2786)
2.2.3 (2014-04-03)
------------------

View File

@ -148,14 +148,14 @@
object = [folder lookupName: nameInContainer
inContext: context
acquire: NO];
if ([object isKindOfClass: [NSException class]])
if ([object isKindOfClass: [NSException class]] || [object isNew])
{
possibleName = [folder resourceNameForEventUID: eventUID];
if (possibleName)
{
object = [folder lookupName: possibleName
inContext: context acquire: NO];
if ([object isKindOfClass: [NSException class]])
if ([object isKindOfClass: [NSException class]] || [object isNew])
object = nil;
}
else