Return calendar description in PROPFIND
This commit is contained in:
committed by
Simon Ser
parent
6887b6b812
commit
cdb0de3b99
@@ -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{
|
||||||
|
Reference in New Issue
Block a user