Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 0e81866d authored by Ricki Hirner's avatar Ricki Hirner Committed by GitHub
Browse files

Fix ETag update logic in QueryChildDocumentsOperation (#1626)

parent 93a256ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ class QueryChildDocumentsOperation @Inject constructor(
                                ?: resource.isDirectory,
                            displayName = response[DisplayName::class.java]?.displayName,
                            mimeType = response[GetContentType::class.java]?.type,
                            eTag = response[GetETag::class.java]?.takeIf { !it.weak }?.let { resource.eTag },
                            eTag = response[GetETag::class.java]?.takeIf { !it.weak }?.eTag,
                            lastModified = response[GetLastModified::class.java]?.lastModified?.toEpochMilli(),
                            size = response[GetContentLength::class.java]?.contentLength,
                            mayBind = response[CurrentUserPrivilegeSet::class.java]?.mayBind,