calendar_functions.c: added skeleton
[citadel.git] / webcit-ng / server / room_functions.c
index 9153319c64d51beac9542ec3f535368de8763f4c..24195e7733b3e3fd83e6cd0ef3e60517fe0939b5 100644 (file)
@@ -226,6 +226,12 @@ void object_in_room(struct http_transaction *h, struct ctdlsession *c) {
                return;
        }
 
+       if (!strncasecmp(buf, "calendar.", 9)) {        // Client is requesting a calendar range
+               unescape_input(&buf[9]);
+               calendar_msglist(h, c, &buf[9]);
+               return;
+       }
+
        if (!strcasecmp(buf, "info.txt")) {             // Client is requesting the room info banner
                read_room_info_banner(h, c);
                return;