mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
Add calls to update polls rules
This commit is contained in:
@@ -71,7 +71,10 @@ class MXNotificationSettingsService: NotificationSettingsServiceType {
|
||||
}
|
||||
|
||||
func updatePushRuleActions(for ruleId: String, enabled: Bool, actions: NotificationActions?) {
|
||||
guard let rule = session.notificationCenter.rule(byId: ruleId) else { return }
|
||||
guard let rule = session.notificationCenter.rule(byId: ruleId) else {
|
||||
return
|
||||
}
|
||||
|
||||
session.notificationCenter.enableRule(rule, isEnabled: enabled)
|
||||
|
||||
if let actions = actions {
|
||||
|
||||
Reference in New Issue
Block a user