|
@@ -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
|