mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 10:54:17 +00:00
Monotone-Parent: e41874875e49863ccd11d5bd0c7107d5d2a253a6
Monotone-Revision: f0ddaa98c894655eb2beb4809a2b6040a25ebf27 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-08-08T18:52:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2011-08-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
(-lookupCalendarFoldersForUID:): make use of -[SOGoUser
|
||||
lookupCalendarFoldersForUID:].
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentObject.m
|
||||
(_handleAttendee:withDelegate:ownerUser:statusChange:inEvent:):
|
||||
enable updating the attendee's calendar when a WORequest is not
|
||||
|
||||
@@ -2442,22 +2442,20 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
- (NSArray *) lookupCalendarFoldersForUID: (NSString *) theUID
|
||||
{
|
||||
NSArray *aFolders;
|
||||
SOGoUser *theUser;
|
||||
NSEnumerator *e;
|
||||
NSMutableArray *aUserFolders;
|
||||
SOGoAppointmentFolders *aParent;
|
||||
SOGoFolder *aContainer, *aFolder;
|
||||
SOGoFolder *aFolder;
|
||||
|
||||
aUserFolders = [NSMutableArray arrayWithCapacity: 16];
|
||||
aContainer = [[container container] container];
|
||||
aContainer = [aContainer lookupName: theUID
|
||||
inContext: context
|
||||
acquire: NO];
|
||||
aParent = [aContainer lookupName: @"Calendar"
|
||||
inContext: context
|
||||
acquire: NO];
|
||||
|
||||
theUser = [SOGoUser userWithLogin: theUID];
|
||||
aParent = [theUser calendarsFolderInContext: context];
|
||||
|
||||
aFolders = [aParent subFolders];
|
||||
e = [aFolders objectEnumerator];
|
||||
while ( (aFolder = [e nextObject]) )
|
||||
while ((aFolder = [e nextObject]))
|
||||
{
|
||||
if (![aFolder isSubscription])
|
||||
[aUserFolders addObject: aFolder];
|
||||
|
||||
Reference in New Issue
Block a user