Skip to content

Commit

Permalink
(fix) set RSVP when sending events invite
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu committed Apr 12, 2017
1 parent b8ae9af commit 34e22da
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ActiveSync/iCalEvent+ActiveSync.m
Expand Up @@ -865,7 +865,7 @@ - (void) takeActiveSyncValues: (NSDictionary *) theValues
person = [iCalPerson elementWithTag: @"attendee"];
[person setCn: [attendee objectForKey: @"Attendee_Name"]];
[person setEmail: [attendee objectForKey: @"Attendee_Email"]];

status = [[attendee objectForKey: @"Attendee_Status"] intValue];

switch (status)
Expand All @@ -882,7 +882,10 @@ - (void) takeActiveSyncValues: (NSDictionary *) theValues
case 0:
case 5:
default:
[person setPartStat: @"NEEDS-ACTION"];
{
[person setPartStat: @"NEEDS-ACTION"];
[person setRsvp: @"TRUE"];
}
break;
}

Expand Down

0 comments on commit 34e22da

Please sign in to comment.