marinofaggiana 4 years ago
parent
commit
c51ef33316
2 changed files with 5 additions and 2 deletions
  1. 1 1
      Cartfile.resolved
  2. 4 1
      iOSClient/AutoUpload/NCAutoUpload.m

+ 1 - 1
Cartfile.resolved

@@ -18,7 +18,7 @@ github "malcommac/SwiftRichString" "3.7.2"
 github "marinofaggiana/KTVHTTPCache" "2.0.2"
 github "marinofaggiana/OpenSSL" "6c7cf839d9c74e5a0b92bbf343e1a33b6f56a277"
 github "marinofaggiana/TOPasscodeViewController" "0.0.7"
-github "nextcloud/ios-communication-library" "2ac72a3df0fb6e9e4b03ad963a09ae9e5078b05c"
+github "nextcloud/ios-communication-library" "4f68d7610be34220ed49d24fe2b63b072b9f79c5"
 github "rechsteiner/Parchment" "v2.4.0"
 github "scenee/FloatingPanel" "v1.7.6"
 github "tilltue/TLPhotoPicker" "2.0.12"

+ 4 - 1
iOSClient/AutoUpload/NCAutoUpload.m

@@ -462,8 +462,10 @@
                         [metadataFull addObject:metadataMOVForUpload];
                                                 
                         // Update database Auto Upload
-                        if ([selector isEqualToString:selectorUploadAutoUpload])
+                        if ([selector isEqualToString:selectorUploadAutoUpload]) {
+                            [[NCCommunicationCommon shared] writeLog:[NSString stringWithFormat:@"AutoUpload Photo Library added file %@", metadataMOVForUpload.fileName]];
                             [[NCManageDatabase sharedInstance] addMetadata:metadataMOVForUpload];
+                        }
                     }
                     
                     dispatch_semaphore_signal(semaphore);
@@ -500,6 +502,7 @@
 {
     @synchronized(self) {
         
+        [[NCCommunicationCommon shared] writeLog:[NSString stringWithFormat:@"AutoUpload Photo Library added file %@ with Identifier %@", metadata.fileName, metadata.assetLocalIdentifier]];
         [[NCManageDatabase sharedInstance] addMetadata:metadata];
         
         // Add asset in table Photo Library