Skip to content

Commit

Permalink
Remove unused line in auto-activation of cross-signing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Buquet committed Nov 29, 2023
1 parent 91336a4 commit 80d9648
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Riot/Modules/Home/HomeViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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) )
Expand Down

0 comments on commit 80d9648

Please sign in to comment.