diff options
author | David Sterry <davesterry@gmail.com> | 2021-06-27 13:31:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-27 22:31:28 +0200 |
commit | 7c27ccb8d8fda060f3c5b234f7c81fc29b5fc915 (patch) | |
tree | 53d8358f560698dcb56d24c8c7e025383d1d90bf /app/serializers | |
parent | 04a552f07641946436987dd19101fb8f187e7da3 (diff) |
Fix #16407 (#16432)
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/initial_state_serializer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/initial_state_serializer.rb b/app/serializers/initial_state_serializer.rb index 70263e0c5..b3b913946 100644 --- a/app/serializers/initial_state_serializer.rb +++ b/app/serializers/initial_state_serializer.rb @@ -19,6 +19,7 @@ class InitialStateSerializer < ActiveModel::Serializer source_url: Mastodon::Version.source_url, version: Mastodon::Version.to_s, invites_enabled: Setting.min_invite_role == 'user', + limited_federation_mode: Rails.configuration.x.whitelist_mode, mascot: instance_presenter.mascot&.file&.url, profile_directory: Setting.profile_directory, trends: Setting.trends, |