mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
make clippy happy
This commit is contained in:
@@ -243,7 +243,7 @@ impl Context {
|
|||||||
let journal_mode = self
|
let journal_mode = self
|
||||||
.sql
|
.sql
|
||||||
.query_get_value(self, "PRAGMA journal_mode;", rusqlite::NO_PARAMS)
|
.query_get_value(self, "PRAGMA journal_mode;", rusqlite::NO_PARAMS)
|
||||||
.unwrap_or("unknown".to_string());
|
.unwrap_or_else(|| "unknown".to_string());
|
||||||
let e2ee_enabled = self.get_config_int(Config::E2eeEnabled);
|
let e2ee_enabled = self.get_config_int(Config::E2eeEnabled);
|
||||||
let mdns_enabled = self.get_config_int(Config::MdnsEnabled);
|
let mdns_enabled = self.get_config_int(Config::MdnsEnabled);
|
||||||
let bcc_self = self.get_config_int(Config::BccSelf);
|
let bcc_self = self.get_config_int(Config::BccSelf);
|
||||||
|
|||||||
Reference in New Issue
Block a user