mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
feat: Improve error message when the user tries to do AEAP (#6786)
The old error message was too confusing.
This commit is contained in:
@@ -129,7 +129,7 @@ impl Context {
|
|||||||
);
|
);
|
||||||
let old_addr = self.get_config(Config::ConfiguredAddr).await?;
|
let old_addr = self.get_config(Config::ConfiguredAddr).await?;
|
||||||
if self.is_configured().await? && !addr_cmp(&old_addr.unwrap_or_default(), ¶m.addr) {
|
if self.is_configured().await? && !addr_cmp(&old_addr.unwrap_or_default(), ¶m.addr) {
|
||||||
bail!("Adding a new transport is not supported right now. Check back in a few months!");
|
bail!("Changing your email address is not supported right now. Check back in a few months!");
|
||||||
}
|
}
|
||||||
let cancel_channel = self.alloc_ongoing().await?;
|
let cancel_channel = self.alloc_ongoing().await?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user