*gna* git-am doesn't speak imap.

now I need to set up some fetchmail to retrieve patches into a maildir? st00pit shit.

Mo Sep 06 2010 16:01:19 EDT von dothebart @ Uncensored Betreff: Re: [PATCH] Allow save-to-drafts without recipients

I there a way to automaticaly push such a commit mail?

Mo Sep 06 2010 08:06:28 EDT von samjam @ Uncensored Betreff: [PATCH] Allow save-to-drafts without recipients

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



 



 

diff --git a/citadel/msgbase.c b/citadel/msgbase.c
index cd4fd5e..d7f832a 100644
--- a/citadel/msgbase.c
+++ b/citadel/msgbase.c
@@ -4033,12 +4033,13 @@ void cmd_ent0(char *entargs)
 	/* 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, "");

Reply via email to