mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
FF to enable filtering notifications by push rules (#1412)
* filtering notification by push rules * changelog * Apply suggestions from code review Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com> --------- Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
@@ -189,6 +189,10 @@ final class AppSettings {
|
||||
/// Tag describing which set of device specific rules a pusher executes.
|
||||
@UserPreference(key: UserDefaultsKeys.pusherProfileTag, storageType: .userDefaults(store))
|
||||
var pusherProfileTag: String?
|
||||
|
||||
/// Allows notifications to be filtered based on the push context of the room
|
||||
@UserPreference(key: SharedUserDefaultsKeys.filterNotificationsByPushRulesEnabled, defaultValue: false, storageType: .userDefaults(store))
|
||||
var filterNotificationsByPushRulesEnabled
|
||||
|
||||
// MARK: - Other
|
||||
|
||||
|
||||
Reference in New Issue
Block a user