DAV: fix regression in deleteItem

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1106 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-06-25 23:22:40 +00:00
parent 94df7b45d8
commit d586ffcd3f
1 changed files with 1 additions and 1 deletions

View File

@ -1257,7 +1257,7 @@ public class DavExchangeSession extends ExchangeSession {
@Override
public int deleteItem(String folderPath, String itemName) throws IOException {
String eventPath = URIUtil.encodePath(folderPath + '/' + convertItemNameToEML(itemName));
String eventPath = URIUtil.encodePath(getFolderPath(folderPath) + '/' + convertItemNameToEML(itemName));
int status;
if (inboxUrl.endsWith(folderPath)) {
// do not delete calendar messages, mark read and processed