$Log$
+Revision 400.62 2002/12/10 23:25:47 ajc
+* Display attendees in message view of calendar objects
+
Revision 400.61 2002/12/07 22:12:59 ajc
* Handle incoming RSVP's for meetings. (Note: this will not actually work
until I implement the Citadel server function which it calls.)
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
/* If the component has attendees, iterate through them. */
for (p = icalcomponent_get_first_property(cal, ICAL_ATTENDEE_PROPERTY); (p != NULL); p = icalcomponent_get_next_property(cal, ICAL_ATTENDEE_PROPERTY)) {
wprintf("<TR><TD><B>Attendee:</B></TD><TD>");
- escputs("FIXME display attendee");
+ strcpy(buf, icalproperty_get_attendee(p));
+ if (!strncasecmp(buf, "MAILTO:", 7)) {
+ strcpy(buf, &buf[7]);
+ striplt(buf);
+ escputs(buf);
+ }
+ /* FIXME add status */
wprintf("</TD></TR>\n");
}
);
}
- /* Determine who is the organizer of this event. This is useless
- * for now, but we'll need to determine "me" or "not me" soon.
+ /* Determine who is the organizer of this event.
+ * We need to determine "me" or "not me."
*/
organizer = icalcomponent_get_first_property(vevent,
ICAL_ORGANIZER_PROPERTY);