瀏覽代碼

dev schema nextcloud

marinofaggiana 5 年之前
父節點
當前提交
103a11f1bf
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      iOSClient/AppDelegate.m

+ 7 - 0
iOSClient/AppDelegate.m

@@ -1558,6 +1558,13 @@ PKPushRegistry *pushRegistry;
                         [tbc setSelectedIndex: k_tabBarApplicationIndexFile];
                     }
                     
+                    NSString *fileName = [path lastPathComponent];
+                    NSString *serverUrl = [NSString stringWithFormat:@"%@%@/%@", account.url, k_webDAV, [path stringByDeletingLastPathComponent]];
+                                        
+                    tableMetadata *metadata = [CCUtility createMetadataWithAccount:account.account date:[NSDate date] directory:NO fileID:[[NSUUID UUID] UUIDString] serverUrl:serverUrl fileName:fileName etag:@"" size:0 status:k_metadataStatusNormal url:@""];
+                    
+                    NSLog(@"x");
+                    
                 } else {
                     // Show add account dialog
                 }