mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Merge pull request #7323 from vector-im/andy/reset_crypto
Reset Crypto SDK labs on logout
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user