mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +03:00
rename sql-config-setters to set_raw_config*()
the rename is reasonable as the getter is called get_raw_config*() and to make the functional difference to context.set|get_config() clearer.
This commit is contained in:
committed by
Floris Bruynooghe
parent
79b92727cc
commit
93f0f5ccae
@@ -313,7 +313,7 @@ fn set_self_key(
|
||||
};
|
||||
context
|
||||
.sql
|
||||
.set_config_int(context, "e2ee_enabled", e2ee_enabled)?;
|
||||
.set_raw_config_int(context, "e2ee_enabled", e2ee_enabled)?;
|
||||
}
|
||||
None => {
|
||||
if prefer_encrypt_required {
|
||||
@@ -695,7 +695,7 @@ fn export_backup(context: &Context, dir: impl AsRef<Path>) -> Result<()> {
|
||||
}
|
||||
if ok_to_continue {
|
||||
if sql
|
||||
.set_config_int(context, "backup_time", now as i32)
|
||||
.set_raw_config_int(context, "backup_time", now as i32)
|
||||
.is_ok()
|
||||
{
|
||||
context.call_cb(Event::ImexFileWritten(dest_path_filename.clone()));
|
||||
|
||||
Reference in New Issue
Block a user