From 432a4df97eb67f6dc58f1ffc15b0f3f119d04d8a Mon Sep 17 00:00:00 2001 From: mguessan Date: Fri, 10 Sep 2010 13:00:44 +0000 Subject: [PATCH] Caldav: fix 3063407, regression in sendPrincipal git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1437 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/caldav/CaldavConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/caldav/CaldavConnection.java b/src/java/davmail/caldav/CaldavConnection.java index 1bb9c6b7..842e4ca5 100644 --- a/src/java/davmail/caldav/CaldavConnection.java +++ b/src/java/davmail/caldav/CaldavConnection.java @@ -886,7 +886,7 @@ public class CaldavConnection extends AbstractConnection { // actual principal is email address String actualPrincipal = principal; if ("users".equals(prefix) && - (session.getAlias().equalsIgnoreCase(principal) || session.getAliasFromLogin().equalsIgnoreCase(principal))) { + (principal.equalsIgnoreCase(session.getAlias()) || (principal.equalsIgnoreCase(session.getAliasFromLogin())))) { actualPrincipal = session.getEmail(); }