2005-07-19 Marcus Mueller <znek@mulle-kybernetik.com>
+ * v0.9.139
+
+ * UIxAppointmentEditor.m: fixed automatic participants addition
+
+ * v0.9.138
+
* UIxCalView.m: renamed 'anaisUIDString' to 'userUIDString' in order
to be independent from the Anais bundle but still provide the same
- functionality (v0.9.138)
+ functionality
2005-07-19 Helge Hess <helge.hess@opengroupware.org>
Note: 'clientObject' is the SOGoAppointmentFolder!
Update: remember that there are group folders as well.
*/
- NSString *uri, *objectId, *method;
+ NSString *uri, *objectId, *method, *ps;
objectId = [NSClassFromString(@"SOGoAppointmentFolder")
globallyUniqueObjectId];
method = [NSString stringWithFormat:@"Calendar/%@/edit", objectId];
method = [[self userFolderPath] stringByAppendingPathComponent:method];
- /* add all current calendarUIDs as default participants */
- if ([[self clientObject] respondsToSelector:@selector(calendarUIDs)]) {
+ /* check if participants have already been provided */
+ ps = [[[self context] request] formValueForKey:@"ps"];
+ if (ps) {
+ [self setQueryParameter:ps forKey:@"ps"];
+ }
+ else if ([[self clientObject] respondsToSelector:@selector(calendarUIDs)]) {
AgenorUserManager *um;
NSArray *uids;
NSMutableArray *emails;
- NSString *ps;
unsigned i, count;
+ /* add all current calendarUIDs as default participants */
+
um = [AgenorUserManager sharedUserManager];
uids = [[self clientObject] calendarUIDs];
count = [uids count];