mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
Use set_config_bool instead of set_config_int in boolean context
This commit is contained in:
@@ -509,7 +509,7 @@ pub unsafe fn dc_job_do_DC_JOB_CONFIGURE_IMAP(context: &Context, _job: &Job) {
|
|||||||
)
|
)
|
||||||
.ok();
|
.ok();
|
||||||
|
|
||||||
context.sql.set_config_int(context, "configured", 1).ok();
|
context.sql.set_config_bool(context, "configured", true);
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
18 => {
|
18 => {
|
||||||
|
|||||||
Reference in New Issue
Block a user