Browse Source

fix

Signed-off-by: Marino Faggiana <8616947+marinofaggiana@users.noreply.github.com>
Marino Faggiana 1 year ago
parent
commit
cc259137f9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      iOSClient/Utility/NCLivePhoto.swift

+ 3 - 0
iOSClient/Utility/NCLivePhoto.swift

@@ -507,6 +507,9 @@ extension NCLivePhoto {
         guard NCGlobal.shared.capabilityServerVersionMajor >= NCGlobal.shared.nextcloudVersion28,
               (!metadata1.livePhotoFile.isEmpty && !metadata2.livePhotoFile.isEmpty) else { return }
 
+        let metadata1 = tableMetadata(value: metadata1)
+        let metadata2 = tableMetadata(value: metadata2)
+
         Task {
             if metadata1.livePhotoFile.isEmpty {
                 let serverUrlfileNamePath = metadata1.urlBase + metadata1.path + metadata1.fileName