mirror of
https://github.com/chatmail/core.git
synced 2026-04-24 00:46:30 +03:00
prefer get_config_bool() where appropriate
for db input/output, we still use get_config_int() to convert to/from 0/1. also for info() we prefer get_config_int() to show the real value.
This commit is contained in:
committed by
Floris Bruynooghe
parent
8dfd04672f
commit
79b92727cc
@@ -393,7 +393,7 @@ impl Context {
|
||||
}
|
||||
|
||||
pub fn do_heuristics_moves(&self, folder: &str, msg_id: u32) {
|
||||
if self.get_config_int(Config::MvboxMove) == 0 {
|
||||
if !self.get_config_bool(Config::MvboxMove) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user