mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 03:20:50 +02:00
Merge commit 'b1847a3ae552c52c06ab4934318dbdb2cf1d8c4b' into feature/4884_merge_foss_1.10.14
# Conflicts: # Config/AppVersion.xcconfig # Podfile.lock # Riot/Modules/Home/AllChats/AllChatsCoordinator.swift # fastlane/.env.default # fastlane/Fastfile
This commit is contained in:
+5
-1
@@ -82,6 +82,10 @@ extension MXPushRule: NotificationPushRuleType {
|
||||
}
|
||||
|
||||
var dontNotify: Bool {
|
||||
getAction(actionType: MXPushRuleActionTypeDontNotify) != nil
|
||||
guard let actions = actions as? [MXPushRuleAction] else {
|
||||
return true
|
||||
}
|
||||
// Support for MSC3987: The dont_notify push rule action is deprecated and replaced by an empty actions list.
|
||||
return actions.isEmpty || getAction(actionType: MXPushRuleActionTypeDontNotify) != nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user