remove self path from dav result

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-06-07 10:34:17 +02:00
parent eba697b8f2
commit 9da5b57804
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -81,15 +81,6 @@ class ReadFilesystemOperation(okHttpClient: OkHttpClient, currentUser: UserEntit
} catch (e: DavException) {
Log.w(TAG, "Error reading remote path")
}
remoteFiles.add(
getModelFromResponse(
rootElement[0]!!,
rootElement[0]!!
.href
.toString()
.substring(basePath.length)
)
)
for (memberElement in memberElements) {
remoteFiles.add(
getModelFromResponse(