mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
cargo fmt
This commit is contained in:
@@ -79,7 +79,12 @@ impl Context {
|
||||
let value = match key {
|
||||
Config::Selfavatar => {
|
||||
let rel_path = self.sql.get_raw_config(self, key);
|
||||
rel_path.map(|p| dc_get_abs_path(self, &p).to_str().unwrap_or_default().to_string())
|
||||
rel_path.map(|p| {
|
||||
dc_get_abs_path(self, &p)
|
||||
.to_str()
|
||||
.unwrap_or_default()
|
||||
.to_string()
|
||||
})
|
||||
}
|
||||
Config::SysVersion => Some((&*DC_VERSION_STR).clone()),
|
||||
Config::SysMsgsizeMaxRecommended => Some(format!("{}", 24 * 1024 * 1024 / 4 * 3)),
|
||||
|
||||
Reference in New Issue
Block a user