]> code.citadel.org Git - citadel.git/blobdiff - citadel/room_ops.c
* added flag to make clients add a subject
[citadel.git] / citadel / room_ops.c
index ffe2078f993ba8f4cd613272f2eea87d76225518..cc83b369bdcef73f9c6431f08128d637514de27d 100644 (file)
@@ -1756,8 +1756,10 @@ unsigned create_room(char *new_room_name,
                qrbuf.QRflags = (qrbuf.QRflags | QR_GUESSNAME);
        if (new_room_type == 2)
                qrbuf.QRflags = (qrbuf.QRflags | QR_PASSWORDED);
-       if ( (new_room_type == 4) || (new_room_type == 5) )
+       if ( (new_room_type == 4) || (new_room_type == 5) ) {
                qrbuf.QRflags = (qrbuf.QRflags | QR_MAILBOX);
+               qrbuf.QRflags2 |= QR2_SUBJECTREQ; 
+       }
 
        /* If the user is requesting a personal room, set up the room
         * name accordingly (prepend the user number)