mirror of
https://github.com/chatmail/core.git
synced 2026-04-25 01:16:29 +03:00
Streamline access/working with configured params and configured addr (#3219)
This commit is contained in:
@@ -449,13 +449,7 @@ impl Context {
|
||||
// [======67%===== ]
|
||||
// =============================================================================================
|
||||
|
||||
let domain = dc_tools::EmailAddress::new(
|
||||
&self
|
||||
.get_config(Config::ConfiguredAddr)
|
||||
.await?
|
||||
.unwrap_or_default(),
|
||||
)?
|
||||
.domain;
|
||||
let domain = dc_tools::EmailAddress::new(&self.get_configured_addr().await?)?.domain;
|
||||
ret += &format!(
|
||||
"<h3>{}</h3><ul>",
|
||||
stock_str::storage_on_domain(self, domain).await
|
||||
|
||||
Reference in New Issue
Block a user