Commit 71f73d66 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Resource detection: use related replies to gather collection info, too

parent 0e4bb317
Pipeline #13010996 passed with stage
in 4 minutes and 3 seconds
......@@ -296,7 +296,7 @@ class DavService: Service() {
val homeSet = DavResource(httpClient, homeSetUrl)
try {
homeSet.propfind(1, *CollectionInfo.DAV_PROPERTIES)
val itCollections = IteratorChain<DavResource>(homeSet.members.iterator(), SingletonIterator(homeSet))
val itCollections = IteratorChain<DavResource>(homeSet.members.iterator(), homeSet.related.iterator(), SingletonIterator(homeSet))
while (itCollections.hasNext()) {
val member = itCollections.next()
val info = CollectionInfo(member)
......
Subproject commit d04d1cc2398d51a477c6d0daaa00e179266e7d94
Subproject commit 83dab17f03ee0d82f28445ba07e805fbe2ded552
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment