marinofaggiana hace 3 años
padre
commit
209930f2a3
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      iOSClient/Settings/NCEndToEndInitialize.swift

+ 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