From 80d9648f10ddd145ce4b3e483f24462fff227b43 Mon Sep 17 00:00:00 2001 From: Nicolas Buquet Date: Wed, 29 Nov 2023 18:50:08 +0100 Subject: [PATCH] Remove unused line in auto-activation of cross-signing --- Riot/Modules/Home/HomeViewController.m | 1 - 1 file changed, 1 deletion(-) diff --git a/Riot/Modules/Home/HomeViewController.m b/Riot/Modules/Home/HomeViewController.m index 20b01ff6c..b29a7eb0c 100644 --- a/Riot/Modules/Home/HomeViewController.m +++ b/Riot/Modules/Home/HomeViewController.m @@ -130,7 +130,6 @@ - (void)tchapSetupCrossSigningAutoActivation // - Cross-signing is not enabled for this account. // - or Cross-signing exists on the account but is not trusted by this device. The account password can be asked to activate cross-signing in this case. NSString *currentUserId = session.myUserId; - MXCrossSigningState state = session.crypto.crossSigning.state; if (currentUserId != nil && [session.crypto devicesForUser:currentUserId].count < 2 && (session.crypto.crossSigning.state == MXCrossSigningStateNotBootstrapped || session.crypto.crossSigning.state == MXCrossSigningStateCrossSigningExists) )