This is a multipart message in MIME format.
Allow save-to-drafts without recipients
>
---
citadel/msgbase.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
Still need to read X-Citadel-Room when resuming from drafts
<html><body>
<p><span class="message_subject"> Allow save-to-drafts without recipients</span></p>
<blockquote></blockquote>
<div class="message_content"><tt>---</tt><br /> <tt>citadel/msgbase.c | 9 +++++----</tt><br /> <tt>1 files changed, 5 insertions(+), 4 deletions(-)</tt><br /> <br /></div>
<p>Still need to read X-Citadel-Room when resuming from drafts</p>
</body></html>
/* In mailbox rooms we have to behave a little differently --
* make sure the user has specified at least one recipient. Then
* validate the recipient(s). We do this for the Mail> room, as
/* In mailbox rooms we have to behave a little differently --
* make sure the user has specified at least one recipient. Then
* validate the recipient(s). We do this for the Mail> room, as
- * well as any room which has the "Mailbox" view set.
+ * well as any room which has the "Mailbox" view set - unless it
+ * is the DRAFTS room which does not require recipients
- if ( ( (CC->room.QRflags & QR_MAILBOX) && (!strcasecmp(&CC->room.QRname[11], MAILROOM)) )
- || ( (CC->room.QRflags & QR_MAILBOX) && (CC->curr_view == VIEW_MAILBOX) )
- ) {
+ if ( ( ( (CC->room.QRflags & QR_MAILBOX) && (!strcasecmp(&CC->room.QRname[11], MAILROOM)) )
+ || ( (CC->room.QRflags & QR_MAILBOX) && (CC->curr_view == VIEW_MAILBOX) )
+ ) && (strcasecmp(&CC->room.QRname[11], USERDRAFTROOM)) !=0 ) {
if (CC->user.axlevel < AxProbU) {
strcpy(recp, "sysop");
strcpy(cc, "");
if (CC->user.axlevel < AxProbU) {
strcpy(recp, "sysop");
strcpy(cc, "");