mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-08 04:08:12 -05:00
Caldav: fix NullPointerException on addressbook request
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1888 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
172595eda4
commit
8bee35ad29
@ -651,7 +651,7 @@ public class CaldavConnection extends AbstractConnection {
|
|||||||
if (request.getDepth() == 1) {
|
if (request.getDepth() == 1) {
|
||||||
if (folder.isContact()) {
|
if (folder.isContact()) {
|
||||||
appendContactsResponses(response, request, contacts);
|
appendContactsResponses(response, request, contacts);
|
||||||
} else {
|
} else if (folder.isCalendar() || folder.isTask()) {
|
||||||
appendEventsResponses(response, request, events);
|
appendEventsResponses(response, request, events);
|
||||||
// Send sub folders for multi-calendar support under iCal, except for public folders
|
// Send sub folders for multi-calendar support under iCal, except for public folders
|
||||||
if (folderList != null) {
|
if (folderList != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user