mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +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
|
||||
if (autoconfig.imap.host.endsWith(".awsapps.com"))
|
||||
if (autoconfig.imap.host != null &&
|
||||
autoconfig.imap.host.endsWith(".awsapps.com"))
|
||||
autoconfig.partial = false;
|
||||
|
||||
return autoconfig;
|
||||
|
|
Loading…
Reference in a new issue