marinofaggiana преди 5 години
родител
ревизия
923160f747
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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];