]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/server/room_functions.c
dav_move_or_copy_message() skeleton
[citadel.git] / webcit-ng / server / room_functions.c
index 9e7896c5edaf7c15c09dd78fee3dac643a62becb..1840c6cbf465512d34ba07ddd83f872df35240a9 100644 (file)
@@ -300,10 +300,10 @@ void object_in_room(struct http_transaction *h, struct ctdlsession *c) {
                dav_put_message(h, c, unescaped_euid, msgnum);
        }
        else if (!strcasecmp(h->method, "MOVE")) {
-               do_404(h);      // FIXME write this
+               dav_move_or_copy_message(h, c, msgnum, DAV_MOVE);
        }
        else if (!strcasecmp(h->method, "COPY")) {
-               do_404(h);      // FIXME write this
+               dav_move_or_copy_message(h, c, msgnum, DAV_COPY);
        }
        else {
                do_404(h);      // Got this far but the method made no sense?  Bummer.