mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-10 19:35:08 -05:00
EWS: fix regression in comment
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1591 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
312e860048
commit
10f82dc08d
@ -159,7 +159,7 @@ public class EwsExchangeSession extends ExchangeSession {
|
|||||||
email = userName;
|
email = userName;
|
||||||
alias = userName.substring(0, userName.indexOf('@'));
|
alias = userName.substring(0, userName.indexOf('@'));
|
||||||
} else {
|
} else {
|
||||||
// userName or domain\username, rebuild email address
|
// userName or domain\\username, rebuild email address
|
||||||
alias = getAliasFromLogin();
|
alias = getAliasFromLogin();
|
||||||
String domain = httpClient.getHostConfiguration().getHost();
|
String domain = httpClient.getHostConfiguration().getHost();
|
||||||
int start = domain.lastIndexOf('.', domain.lastIndexOf('.') - 1);
|
int start = domain.lastIndexOf('.', domain.lastIndexOf('.') - 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user