mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-24 19:37:26 +00:00
Add ability for admins to force grouped notifications in web UI (#31610)
This commit is contained in:
@@ -109,6 +109,7 @@ class InitialStateSerializer < ActiveModel::Serializer
|
||||
trends_as_landing_page: Setting.trends_as_landing_page,
|
||||
trends_enabled: Setting.trends,
|
||||
version: instance_presenter.version,
|
||||
force_grouped_notifications: ENV['FORCE_GROUPED_NOTIFICATIONS'] == 'true',
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user