diff --git a/app/controllers/api/v1/notifications_controller.rb b/app/controllers/api/v1/notifications_controller.rb index 6b2e85b36..1aecf71a3 100644 --- a/app/controllers/api/v1/notifications_controller.rb +++ b/app/controllers/api/v1/notifications_controller.rb @@ -75,7 +75,7 @@ class Api::V1::NotificationsController < Api::BaseController def exclude_types val = params.permit(exclude_types: [])[:exclude_types] || [] val = [val] unless val.is_a?(Enumerable) - val = val << 'emoji_reaction' << 'status' unless new_notification_type_compatible? + val = val << 'emoji_reaction' << 'status' << 'status_reference' << 'scheduled_status' unless new_notification_type_compatible? val = val << 'emoji_reaction' unless current_user&.setting_enable_reaction val = val << 'status_reference' unless current_user&.setting_enable_status_reference val.uniq