Don't automatically delete calendar invitations
authorArt Cancro <ajc@citadel.org>
Tue, 24 Apr 2007 20:15:01 +0000 (20:15 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 24 Apr 2007 20:15:01 +0000 (20:15 +0000)
and RSVP's after handling them.  This behavior does not
make sense when handling multipart messages.

citadel/serv_calendar.c

index 91570069c4e37dcc60a152e03d36ca7e21163521..8fb05e78be7bc78e71ed6ff7f3c316d2d7d44deb 100644 (file)
@@ -425,9 +425,9 @@ void ical_respond(long msgnum, char *partnum, char *action) {
                }
 
                /* Now that we've processed this message, we don't need it
-                * anymore.  So delete it.
-                */
+                * anymore.  So delete it.  (NOTE we don't do this anymore.)
                CtdlDeleteMessages(CC->room.QRname, &msgnum, 1, "");
+                */
 
                /* Free the memory we allocated and return a response. */
                icalcomponent_free(ird.cal);
@@ -773,9 +773,9 @@ void ical_handle_rsvp(long msgnum, char *partnum, char *action) {
                }
 
                /* Now that we've processed this message, we don't need it
-                * anymore.  So delete it.  (Maybe make this optional?)
-                */
+                * anymore.  So delete it.  (Don't do this anymore.)
                CtdlDeleteMessages(CC->room.QRname, &msgnum, 1, "");
+                */
 
                /* Free the memory we allocated and return a response. */
                icalcomponent_free(ird.cal);