caldav: use Calendar.Path in PROPFIND response

This commit is contained in:
Conrad Hoffmann 2022-05-02 20:56:38 +02:00 committed by Simon Ser
parent d8a8af0448
commit 8931e14cf6

View File

@ -276,7 +276,7 @@ func (b *backend) propfindCalendar(propfind *internal.Propfind, cal *Calendar) (
// TODO: CALDAV:calendar-timezone, CALDAV:supported-calendar-component-set, CALDAV:min-date-time, CALDAV:max-date-time, CALDAV:max-instances, CALDAV:max-attendees-per-instance
return internal.NewPropfindResponse("/", propfind, props)
return internal.NewPropfindResponse(cal.Path, propfind, props)
}
func (b *backend) propfindCalendarObject(propfind *internal.Propfind, co *CalendarObject) (*internal.Response, error) {