Add missing NotificationPushRuleIds

This commit is contained in:
Alfonso Grillo
2023-01-27 11:37:35 +01:00
parent 1385c16c4a
commit 290dfa0e95
3 changed files with 17 additions and 9 deletions
@@ -42,7 +42,7 @@ extension NotificationPushRuleId {
case .silent: return .notify
case .noisy: return .highlight
}
case .oneToOneRoom, .msc3930oneToOnePollStart, .msc3930oneToOnePollEnd:
case .oneToOneRoom, .oneToOnePollStart, .msc3930oneToOnePollStart, .oneToOnePollEnd, .msc3930oneToOnePollEnd:
switch index {
case .off: return .dontNotify
case .silent: return .notify
@@ -54,7 +54,7 @@ extension NotificationPushRuleId {
case .silent: return .notify
case .noisy: return .notifyDefaultSound
}
case .allOtherMessages, .msc3930pollStart, .msc3930pollEnd:
case .allOtherMessages, .pollStart, .msc3930pollStart, .pollEnd, .msc3930pollEnd:
switch index {
case .off: return .dontNotify
case .silent: return .notify