mirror of
https://github.com/chatmail/core.git
synced 2026-05-11 10:56:29 +03:00
WIP: feat: add option to process unencrypted messages
This commit is contained in:
@@ -1056,6 +1056,12 @@ impl Context {
|
||||
"team_profile",
|
||||
self.get_config_bool(Config::TeamProfile).await?.to_string(),
|
||||
);
|
||||
res.insert(
|
||||
"process_unencrypted",
|
||||
self.get_config_bool(Config::ProcessUnencrypted)
|
||||
.await?
|
||||
.to_string(),
|
||||
);
|
||||
|
||||
let elapsed = time_elapsed(&self.creation_time);
|
||||
res.insert("uptime", duration_to_str(elapsed));
|
||||
|
||||
Reference in New Issue
Block a user