diff src/doveadm/dsync/dsync-brain.c @ 19318:f9a143c630a5

dsync: Added DSYNC_BRAIN_FLAG_NO_NOTIFY to enable MAILBOX_TRANSACTION_FLAG_NO_NOTIFY It's arguable that this should be enabled by default, but people might like to keep mail_log notifications for dsync.
author Timo Sirainen <tss@iki.fi>
date Tue, 20 Oct 2015 15:29:07 +0300
parents fefaa6d09a81
children 0f22db71df7a
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-brain.c	Tue Oct 20 15:27:42 2015 +0300
+++ b/src/doveadm/dsync/dsync-brain.c	Tue Oct 20 15:29:07 2015 +0300
@@ -142,6 +142,7 @@
 		(flags & DSYNC_BRAIN_FLAG_NO_MAIL_PREFETCH) != 0;
 	brain->no_mailbox_renames =
 		(flags & DSYNC_BRAIN_FLAG_NO_MAILBOX_RENAMES) != 0;
+	brain->no_notify = (flags & DSYNC_BRAIN_FLAG_NO_NOTIFY) != 0;
 }
 
 static void