Return calendar description in PROPFIND

This commit is contained in:
Conrad Hoffmann 2022-05-12 14:36:04 +02:00 committed by Simon Ser
parent 6887b6b812
commit cdb0de3b99

View File

@ -297,6 +297,9 @@ func (b *backend) propfindCalendar(ctx context.Context, propfind *internal.Propf
internal.DisplayNameName: func(*internal.RawXMLValue) (interface{}, error) { internal.DisplayNameName: func(*internal.RawXMLValue) (interface{}, error) {
return &internal.DisplayName{Name: cal.Name}, nil return &internal.DisplayName{Name: cal.Name}, nil
}, },
calendarDescriptionName: func(*internal.RawXMLValue) (interface{}, error) {
return &calendarDescription{Description: cal.Description}, nil
},
supportedCalendarDataName: func(*internal.RawXMLValue) (interface{}, error) { supportedCalendarDataName: func(*internal.RawXMLValue) (interface{}, error) {
return &supportedCalendarData{ return &supportedCalendarData{
Types: []calendarDataType{ Types: []calendarDataType{