Marino Faggiana 7 年之前
父节点
当前提交
ec5a105211
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Networking/OCNetworking.m

+ 1 - 1
iOSClient/Networking/OCNetworking.m

@@ -839,7 +839,7 @@
     [communication readFile:fileName onCommunication:communication successRequest:^(NSHTTPURLResponse *response, NSArray *items, NSString *redirectedServer) {
         
         tableAccount *recordAccount = [[NCManageDatabase sharedInstance] getAccountActive];
-        BOOL isFolderEncrypted = [CCUtility isFolderEncrypted:_metadataNet.serverUrl account:_metadataNet.account depth:NO];
+        BOOL isFolderEncrypted = [CCUtility isFolderEncrypted:fileName account:_metadataNet.account depth:NO];
 
         if ([recordAccount.account isEqualToString:_metadataNet.account] && [items count] > 0) {