[pmg-devel] [PATCH pmg-gui 2/2] spam: options: adapt do new defaults for bayes/awl

Dominik Csapak d.csapak at proxmox.com
Fri Jun 23 14:21:04 CEST 2023


both options default to false now in the backend

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/SpamDetectorOptions.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/SpamDetectorOptions.js b/js/SpamDetectorOptions.js
index 58eaee9..ccfff96 100644
--- a/js/SpamDetectorOptions.js
+++ b/js/SpamDetectorOptions.js
@@ -8,10 +8,10 @@ Ext.define('PMG.SpamDetectorOptions', {
 	var me = this;
 
 	me.add_boolean_row('use_awl', gettext('Use auto-whitelists'),
-			   { defaultValue: 1 });
+			   { defaultValue: 0 });
 
 	me.add_boolean_row('use_bayes', gettext('Use Bayesian filter'),
-			   { defaultValue: 1 });
+			   { defaultValue: 0 });
 
 	me.add_boolean_row('rbl_checks', gettext('Use RBL checks'),
 			   { defaultValue: 1 });
-- 
2.30.2





More information about the pmg-devel mailing list