diff --git a/vector/src/main/java/im/vector/riotx/features/settings/VectorSettingsNotificationPreferenceFragment.kt b/vector/src/main/java/im/vector/riotx/features/settings/VectorSettingsNotificationPreferenceFragment.kt index a1e67e6cd0..bd79f081a3 100644 --- a/vector/src/main/java/im/vector/riotx/features/settings/VectorSettingsNotificationPreferenceFragment.kt +++ b/vector/src/main/java/im/vector/riotx/features/settings/VectorSettingsNotificationPreferenceFragment.kt @@ -161,9 +161,7 @@ class VectorSettingsNotificationPreferenceFragment @Inject constructor( val switchPref = preference as SwitchPreference if (switchPref.isChecked) { FcmHelper.getFcmToken(requireContext())?.let { - if (vectorPreferences.areNotificationEnabledForDevice()) { - pushManager.registerPusherWithFcmKey(it) - } + pushManager.registerPusherWithFcmKey(it) } } else { FcmHelper.getFcmToken(requireContext())?.let {