1
0
mirror of https://github.com/moparisthebest/davmail synced 2025-03-05 11:49:46 -05:00

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

View File

@ -1257,7 +1257,7 @@ public class DavExchangeSession extends ExchangeSession {
@Override @Override
public int deleteItem(String folderPath, String itemName) throws IOException { 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; int status;
if (inboxUrl.endsWith(folderPath)) { if (inboxUrl.endsWith(folderPath)) {
// do not delete calendar messages, mark read and processed // do not delete calendar messages, mark read and processed