Explorar o código

privateKey dev

Marino Faggiana %!s(int64=7) %!d(string=hai) anos
pai
achega
35861233a8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      iOSClient/Main/CCMain.m

+ 2 - 2
iOSClient/Main/CCMain.m

@@ -1186,10 +1186,10 @@
     // Get End-To-End PrivateKey (if enabled)
     if (capabilities.isEndToEndEncryptionEnabled) {
         
-        metadataNet.action = actionGetEndToEndPrivateKey;
+        metadataNet.action = actionGetEndToEndPublicKey;
         [app addNetworkingOperationQueue:app.netQueue delegate:self metadataNet:metadataNet];
         
-        metadataNet.action = actionGetEndToEndPublicKey;
+        metadataNet.action = actionGetEndToEndPrivateKey;
         [app addNetworkingOperationQueue:app.netQueue delegate:self metadataNet:metadataNet];
     }
 }