Explorar o código

dev schema nextcloud

marinofaggiana %!s(int64=5) %!d(string=hai) anos
pai
achega
103a11f1bf
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  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
                 }