mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 03:16:29 +03:00
Introduce SecondaryAddrs config and make stuff work
This commit is contained in:
@@ -198,7 +198,7 @@ impl DcSecretKey for SignedSecretKey {
|
||||
}
|
||||
|
||||
async fn generate_keypair(context: &Context) -> Result<KeyPair> {
|
||||
let addr = context.get_configured_addr().await?;
|
||||
let addr = context.get_primary_self_addr().await?;
|
||||
let addr = EmailAddress::new(&addr)?;
|
||||
let _guard = context.generating_key_mutex.lock().await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user