diff options
Diffstat (limited to 'plugins/mail-to-task/mail-to-task.c')
-rw-r--r-- | plugins/mail-to-task/mail-to-task.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c index 2717bb29be..8a16b92dda 100644 --- a/plugins/mail-to-task/mail-to-task.c +++ b/plugins/mail-to-task/mail-to-task.c @@ -108,7 +108,15 @@ set_attendees (ECalComponent *comp, CamelMimeMessage *message) to_free = g_slist_prepend (to_free, temp); ca->cn = name; - /* FIXME: missing many fields */ + ca->cutype = ICAL_CUTYPE_INDIVIDUAL; + ca->status = ICAL_PARTSTAT_NEEDSACTION; + if (j == 2) { + /* BCC */ + ca->role = ICAL_ROLE_OPTPARTICIPANT; + } else { + /* all other */ + ca->role = ICAL_ROLE_REQPARTICIPANT; + } attendees = g_slist_append (attendees, ca); } |