See Changelog.

Monotone-Parent: 8658284026ef9be953eada83e1590f5fded9a943
Monotone-Revision: 93f02a3eae7a8d5fbf902ba43a47ae1ce2b76baf

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-01-26T15:55:59
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2011-01-26 15:55:59 +00:00
parent 2d09378afa
commit 41124336f7
2 changed files with 19 additions and 4 deletions
+13 -4
View File
@@ -1,8 +1,9 @@
/* UIxComponentEditor.m - this file is part of SOGo
*
* Copyright (C) 2006-2010 Inverse inc.
* Copyright (C) 2006-2011 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Francis Lachapelle <flachapelle@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -589,10 +590,10 @@ iRANGE(2);
doing this... for example, when the clientObject is set */
- (void) setComponent: (iCalRepeatableEntityObject *) newComponent
{
// iCalRecurrenceRule *rrule;
SOGoObject *co;
SOGoUserManager *um;
NSString *owner, *ownerEmail;
iCalRepeatableEntityObject *masterComponent;
if (!component)
{
@@ -611,8 +612,16 @@ iRANGE(2);
ASSIGN (status, [component status]);
ASSIGN (categories,
[[component categories] vCardSubvaluesWithSeparator: ',']);
ASSIGN (organizer, [component organizer]);
if ([[[component organizer] rfc822Email] length])
{
ASSIGN (organizer, [component organizer]);
}
else
{
masterComponent = [[[component parent] allObjects] objectAtIndex: 0];
ASSIGN (organizer, [masterComponent organizer]);
}
[self _loadCategories];
if (!jsonAttendees)
[self _loadAttendees];