]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/server/room_functions.c
Grammar change in the license declaration.
[citadel.git] / webcit-ng / server / room_functions.c
index 9153319c64d51beac9542ec3f535368de8763f4c..8b3ea950c67ca4e7a541714d6b948b47e0280108 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright (c) 1996-2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
-// disclosure are subject to the GNU General Public License v3.
+// disclosure is subject to the GNU General Public License v3.
 
 #include "webcit.h"
 
@@ -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;