Merge pull request #7323 from vector-im/andy/reset_crypto

Reset Crypto SDK labs on logout
This commit is contained in:
Anderas
2023-01-31 16:35:39 +00:00
committed by GitHub
9 changed files with 68 additions and 11 deletions
@@ -193,7 +193,7 @@
MXPushRule *pushRule = [_mxAccount.mxSession.notificationCenter ruleById:kMXNotificationCenterDisableAllNotificationsRuleID];
if (pushRule)
{
[_mxAccount.mxSession.notificationCenter enableRule:pushRule isEnabled:!areAllDisabled];
[_mxAccount.mxSession.notificationCenter enableRule:pushRule isEnabled:!areAllDisabled completion:nil];
}
}
}
@@ -163,7 +163,7 @@
if (sender == _controlButton)
{
// Swap enable state
[_mxSession.notificationCenter enableRule:_mxPushRule isEnabled:!_mxPushRule.enabled];
[_mxSession.notificationCenter enableRule:_mxPushRule isEnabled:!_mxPushRule.enabled completion:nil];
}
else if (sender == _deleteButton)
{