mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 05:38:31 +00:00
Prevent crash
This commit is contained in:
parent
83f8a349ab
commit
9ba74769eb
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ public class EmailProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://docs.aws.amazon.com/workmail/latest/userguide/using_IMAP_client.html
|
// https://docs.aws.amazon.com/workmail/latest/userguide/using_IMAP_client.html
|
||||||
if (autoconfig.imap.host.endsWith(".awsapps.com"))
|
if (autoconfig.imap.host != null &&
|
||||||
|
autoconfig.imap.host.endsWith(".awsapps.com"))
|
||||||
autoconfig.partial = false;
|
autoconfig.partial = false;
|
||||||
|
|
||||||
return autoconfig;
|
return autoconfig;
|
||||||
|
|
Loading…
Reference in a new issue