mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-13 22:48:07 -05: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:
parent
9635714b75
commit
711531f8bf
@ -464,7 +464,7 @@ public class CaldavConnection extends AbstractConnection {
|
|||||||
DavGatewayTray.switchIcon();
|
DavGatewayTray.switchIcon();
|
||||||
try {
|
try {
|
||||||
String eventName = getEventFileNameFromPath(href);
|
String eventName = getEventFileNameFromPath(href);
|
||||||
if (eventName == null) {
|
if (eventName == null || eventName.isEmpty()) {
|
||||||
notFound.add(href);
|
notFound.add(href);
|
||||||
} else if ("inbox".equals(eventName) || "calendar".equals(eventName)) {
|
} else if ("inbox".equals(eventName) || "calendar".equals(eventName)) {
|
||||||
// Sunbird: just ignore
|
// Sunbird: just ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user