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

Use getFolderPath in getSuFolders

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@654 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-08-07 09:01:37 +00:00
parent 9b88a2e2c9
commit 40325ac29d

View File

@ -742,7 +742,7 @@ public class ExchangeSession {
" WHERE \"DAV:ishidden\" = False AND \"DAV:isfolder\" = True \n" + " WHERE \"DAV:ishidden\" = False AND \"DAV:isfolder\" = True \n" +
" AND (\"DAV:contentclass\"='urn:content-classes:mailfolder' OR \"DAV:contentclass\"='urn:content-classes:folder')"; " AND (\"DAV:contentclass\"='urn:content-classes:mailfolder' OR \"DAV:contentclass\"='urn:content-classes:folder')";
MultiStatusResponse[] responses = DavGatewayHttpClientFacade.executeSearchMethod( MultiStatusResponse[] responses = DavGatewayHttpClientFacade.executeSearchMethod(
httpClient, URIUtil.encodePath(mailPath), searchRequest); httpClient, URIUtil.encodePath(getFolderPath(folderName)), searchRequest);
for (MultiStatusResponse response : responses) { for (MultiStatusResponse response : responses) {
folders.add(buildFolder(response)); folders.add(buildFolder(response));