1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-08-13 16:53:51 -04:00

Caldav: Sunbird compatibility, exclude events with empty names

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@598 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-06-24 14:54:45 +00:00
parent 9635714b75
commit 711531f8bf

View File

@ -464,7 +464,7 @@ public class CaldavConnection extends AbstractConnection {
DavGatewayTray.switchIcon();
try {
String eventName = getEventFileNameFromPath(href);
if (eventName == null) {
if (eventName == null || eventName.isEmpty()) {
notFound.add(href);
} else if ("inbox".equals(eventName) || "calendar".equals(eventName)) {
// Sunbird: just ignore