mirror of
https://github.com/chatmail/core.git
synced 2026-05-01 20:36:31 +03:00
cargo fmt
This commit is contained in:
@@ -47,7 +47,8 @@ pub struct EncryptHelper {
|
||||
impl EncryptHelper {
|
||||
pub fn new(context: &Context) -> Result<EncryptHelper> {
|
||||
let prefer_encrypt =
|
||||
EncryptPreference::from_i32(context.get_config_int(Config::E2eeEnabled)).unwrap_or_default();
|
||||
EncryptPreference::from_i32(context.get_config_int(Config::E2eeEnabled))
|
||||
.unwrap_or_default();
|
||||
let addr = match context.get_config(Config::ConfiguredAddr) {
|
||||
None => {
|
||||
bail!("addr not configured!");
|
||||
|
||||
Reference in New Issue
Block a user