mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Improve NotificationPushRuleType protocol
This commit is contained in:
+4
@@ -41,6 +41,10 @@ extension MXPushRule: NotificationPushRuleType {
|
||||
return false
|
||||
}
|
||||
|
||||
var ruleActions: NotificationActions? {
|
||||
.init(notify: notify, highlight: highlight, sound: sound)
|
||||
}
|
||||
|
||||
private func getAction(actionType: MXPushRuleActionType, tweakType: String? = nil) -> MXPushRuleAction? {
|
||||
guard let actions = actions as? [MXPushRuleAction] else {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user