mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
Cleanup
This commit is contained in:
@@ -82,4 +82,15 @@ extension NotificationPushRuleId {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
var syncedRules: [NotificationPushRuleId] {
|
||||
switch self {
|
||||
case .oneToOneRoom:
|
||||
return [.oneToOnePollStart, .msc3930oneToOnePollStart, .oneToOnePollEnd, .msc3930oneToOnePollEnd]
|
||||
case .allOtherMessages:
|
||||
return [.pollStart, .msc3930pollStart, .pollEnd, .msc3930pollEnd]
|
||||
default:
|
||||
return []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user