diff --git a/src/java/davmail/exchange/ews/EwsExchangeSession.java b/src/java/davmail/exchange/ews/EwsExchangeSession.java index c6ed22ed..cd8a17c5 100644 --- a/src/java/davmail/exchange/ews/EwsExchangeSession.java +++ b/src/java/davmail/exchange/ews/EwsExchangeSession.java @@ -1899,7 +1899,7 @@ public class EwsExchangeSession extends ExchangeSession { @Override public boolean isMainCalendar(String folderPath) { - return "calendar".equals(folderPath) || (currentMailboxPath + "/calendar").equals(folderPath); + return "calendar".equalsIgnoreCase(folderPath) || (currentMailboxPath + "/calendar").equalsIgnoreCase(folderPath); } @Override