mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-26 00:43:22 +00:00
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:
@@ -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]])
|
||||
|
||||
Reference in New Issue
Block a user