mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 03:02:22 -05:00
Move galLookup to LdapConnection
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@199 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
d862e9d3e0
commit
8290b52ff0
@ -993,12 +993,6 @@ public class ExchangeSession {
|
||||
throw new IOException(status + "Unable to find users from: " + getMethod.getURI());
|
||||
}
|
||||
results = XMLStreamUtil.getElementContentsAsMap(getMethod.getResponseBodyAsStream(), "item", "AN");
|
||||
// add detailed information, only if few results
|
||||
if (results.size() <= 10) {
|
||||
for (Map<String, String> person : results.values()) {
|
||||
galLookup(person);
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
getMethod.releaseConnection();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user