marinofaggiana 3 rokov pred
rodič
commit
209930f2a3

+ 6 - 0
iOSClient/Settings/NCEndToEndInitialize.swift

@@ -149,6 +149,9 @@ class NCEndToEndInitialize : NSObject  {
                         
                         if (errorCode == 0 && account == self.appDelegate.account) {
                             
+                            //TODO: verifi if publicKey == NCCommunication.shared.getE2EEPublicKey
+                            // + (NSString *)getEndToEndPublicKey:(NSString *)account;
+                            
                             CCUtility.setEndToEndPublicKeyServer(account, publicKey: publicKey)
                             
                             // Clear Table
@@ -229,6 +232,9 @@ class NCEndToEndInitialize : NSObject  {
                                     
                                     if (errorCode == 0 && account == self.appDelegate.account) {
                                         
+                                        //TODO: verifi if publicKey == NCCommunication.shared.getE2EEPublicKey
+                                        // + (NSString *)getEndToEndPublicKey:(NSString *)account;
+                                        
                                         CCUtility.setEndToEndPublicKeyServer(account, publicKey: publicKey)
                                         
                                         // Clear Table