Monotone-Parent: e12c6a7ac6a504dcbea24890a7be8b72b8dc91a4

Monotone-Revision: a3bdc2441cad158c03e3bb175dd766004db14021

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-07-15T17:05:29
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-07-15 17:05:29 +00:00
parent 023c8da173
commit c6532f9d73
4 changed files with 11 additions and 34 deletions
@@ -163,7 +163,8 @@
if (!object)
{
// Create the event in the user's personal calendar.
folder = [container lookupCalendarFolderForUID: uid];
folder = [[SOGoUser userWithLogin: uid]
personalCalendarFolderInContext: context];
object = [SOGoAppointmentObject objectWithName: nameInContainer
inContainer: folder];
[object setIsNew: YES];
@@ -265,7 +266,8 @@
// Invitations are always written to the personal folder; it's not necessay
// to look into all folders of the user
folder = [container lookupCalendarFolderForUID: theUID];
folder = [[SOGoUser userWithLogin: theUID]
personalCalendarFolderInContext: context];
object = [folder lookupName: nameInContainer
inContext: context acquire: NO];
if (![object isKindOfClass: [NSException class]])