mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
make clippy happy
This commit is contained in:
committed by
holger krekel
parent
b864911e18
commit
3b2192a046
@@ -243,7 +243,7 @@ impl Context {
|
||||
let journal_mode = self
|
||||
.sql
|
||||
.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 mdns_enabled = self.get_config_int(Config::MdnsEnabled);
|
||||
let bcc_self = self.get_config_int(Config::BccSelf);
|
||||
|
||||
Reference in New Issue
Block a user