Prevent crash

pull/169/head
M66B 6 years ago
parent 83f8a349ab
commit 9ba74769eb

@ -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…
Cancel
Save