Commit b6633288 authored by Mickaël Guessant's avatar Mickaël Guessant

Caldav: experimental davmail.ignoreNoneMatchStar to let DavMail overwrite...

Caldav: experimental davmail.ignoreNoneMatchStar to let DavMail overwrite existing event automatically processed by Exchange.

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2496 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 2b509f4d
......@@ -1567,7 +1567,7 @@ public class EwsExchangeSession extends ExchangeSession {
currentEtag = currentItem.get(Field.get("etag").getResponseName());
LOGGER.debug("Existing item found with etag: " + currentEtag + " client etag: " + etag + " id: " + currentItemId.id);
}
if ("*".equals(noneMatch)) {
if ("*".equals(noneMatch) && !Settings.getBooleanProperty("davmail.ignoreNoneMatchStar", true)) {
// create requested
//noinspection VariableNotUsedInsideIf
if (currentItemId != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment