Modifications after review

This commit is contained in:
Gil Eluard
2021-01-28 19:53:20 +01:00
parent a80a515124
commit fe96c2b235
2 changed files with 8 additions and 11 deletions
@@ -405,15 +405,6 @@
- (void)onMatrixSessionStateDidChange:(NSNotification *)notif
{
MXSession *session = (MXSession*)notif.object;
if (session.state == MXSessionStateStoreDataReady)
{
if (session.crypto.crossSigning && session.crypto.crossSigning.state == MXCrossSigningStateCrossSigningExists)
{
[session.crypto setOutgoingKeyRequestsEnabled:NO onComplete:nil];
}
}
[self refreshTabBarBadges];
}