marinofaggiana %!s(int64=5) %!d(string=hai) anos
pai
achega
923160f747
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      iOSClient/Main/CCMain.m

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -1130,7 +1130,7 @@
             (void)[[NCManageDatabase sharedInstance] addMetadata:metadataForUpload];
             
             // Add Medtadata MOV LIVE PHOTO for upload
-            if (asset.mediaSubtypes == PHAssetMediaSubtypePhotoLive && CCUtility.getMOVLivePhoto) {
+            if (asset.mediaSubtypes == PHAssetMediaSubtypePhotoLive && CCUtility.getMOVLivePhoto && urls.count == assets.count) {
                 
                 NSUInteger index = [assets indexOfObject:asset];
                 NSURL *url = [urls objectAtIndex:index];