See ChangeLog.

Monotone-Parent: a7ffefd73526ec82019cd487dbeacfa8219526c9
Monotone-Revision: 5a7b30b7d5f425b2c0c3b96e6f1afb39c15257d7

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-06-02T01:25:19
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2010-06-02 01:25:19 +00:00
parent 990940cf25
commit 853060fbee
2 changed files with 9 additions and 3 deletions
+6
View File
@@ -1,3 +1,9 @@
2010-06-02 Francis Lachapelle <flachapelle@inverse.ca>
* UI/Scheduler/UIxCalListingActions.m (_userStateInEvent): fixed
array indexes that would cause the user participation state to no
longer be returned.
2010-05-28 Francis Lachapelle <flachapelle@inverse.ca>
* UI/MailerUI/UIxMailMainFrame.m (-saveColumnsStateAction): new
+3 -3
View File
@@ -636,8 +636,8 @@ _userStateInEvent (NSArray *event)
participants = nil;
state = iCalPersonPartStatOther;
partList = [event objectAtIndex: 9];
stateList = [event objectAtIndex: 10];
partList = [event objectAtIndex: 10];
stateList = [event objectAtIndex: 11];
if ([partList length] && [stateList length])
{
participants = [partList componentsSeparatedByString: @"\n"];
@@ -646,7 +646,7 @@ _userStateInEvent (NSArray *event)
max = [participants count];
while (state == iCalPersonPartStatOther && count < max)
{
user = [SOGoUser userWithLogin: [event objectAtIndex: 11]
user = [SOGoUser userWithLogin: [event objectAtIndex: 12]
roles: nil];
if ([user hasEmail: [participants objectAtIndex: count]])
state = [[states objectAtIndex: count] intValue];