]> code.citadel.org Git - citadel.git/blobdiff - citadel/msgbase.c
* added flag to make clients add a subject
[citadel.git] / citadel / msgbase.c
index 4f80ff02f944667273e8471351862bb61c31e488..dc0823e58830d825b3988662dc53039b822ebcbc 100644 (file)
@@ -3520,8 +3520,10 @@ void cmd_ent0(char *entargs)
         * success without creating the message.
         */
        if (post == 0) {
-               cprintf("%d %s\n", CIT_OK,
-                       ((valid_to != NULL) ? valid_to->display_recp : "") );
+               cprintf("%d %s|%s\n", CIT_OK,
+                       ((valid_to != NULL) ? valid_to->display_recp : ""), 
+                        ((CC->room.QRflags2 & QR2_SUBJECTREQ)? 
+                          "SUBJECTREQ" : "SUBJECTOPT") );
                free_recipients(valid_to);
                free_recipients(valid_cc);
                free_recipients(valid_bcc);