1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

Caldav: fix 3063407, regression in sendPrincipal

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1437 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-09-10 13:00:44 +00:00
parent 356d8afdd2
commit 432a4df97e

View File

@ -886,7 +886,7 @@ public class CaldavConnection extends AbstractConnection {
// actual principal is email address // actual principal is email address
String actualPrincipal = principal; String actualPrincipal = principal;
if ("users".equals(prefix) && if ("users".equals(prefix) &&
(session.getAlias().equalsIgnoreCase(principal) || session.getAliasFromLogin().equalsIgnoreCase(principal))) { (principal.equalsIgnoreCase(session.getAlias()) || (principal.equalsIgnoreCase(session.getAliasFromLogin())))) {
actualPrincipal = session.getEmail(); actualPrincipal = session.getEmail();
} }