Skip to content

Commit

Permalink
fix segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
refs committed Sep 2, 2021
1 parent 7db8fe6 commit 9926c23
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ func (h *Handler) Init(c *config.Config) {

// dav

// enable spaces by default
h.c.Capabilities.Dav.Spaces = true

if h.c.Capabilities.Dav == nil {
h.c.Capabilities.Dav = &data.CapabilitiesDav{}
}
Expand All @@ -119,6 +116,9 @@ func (h *Handler) Init(c *config.Config) {
h.c.Capabilities.Dav.Reports = []string{"search-files"}
}

// enable spaces by default
h.c.Capabilities.Dav.Spaces = true

// sharing

if h.c.Capabilities.FilesSharing == nil {
Expand Down

0 comments on commit 9926c23

Please sign in to comment.