mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 22:16:30 +03:00
Introduce SecondaryAddrs config and make stuff work
This commit is contained in:
@@ -395,7 +395,7 @@ UPDATE chats SET protected=1, type=120 WHERE type=130;"#,
|
||||
|
||||
if dbversion < 71 {
|
||||
info!(context, "[migration] v71");
|
||||
if let Ok(addr) = context.get_configured_addr().await {
|
||||
if let Ok(addr) = context.get_primary_self_addr().await {
|
||||
if let Ok(domain) = addr.parse::<EmailAddress>().map(|email| email.domain) {
|
||||
context
|
||||
.set_config(
|
||||
|
||||
Reference in New Issue
Block a user