+ private: !Keyword.get(instance, :public, true),
+ suggestions: %{
+ enabled: Keyword.get(suggestions, :enabled, false),
+ thirdPartyEngine: Keyword.get(suggestions, :third_party_engine, ""),
+ timeout: Keyword.get(suggestions, :timeout, 5000),
+ limit: Keyword.get(suggestions, :limit, 23),
+ web: Keyword.get(suggestions, :web, "")
+ },
+ staffAccounts: staff_accounts,
+ chat: Keyword.get(chat, :enabled),
+ gopher: Keyword.get(gopher, :enabled),
+ federation: %{
+ mrf_policies: mrf_policies,
+ mrf_simple: mrf_simple,
+ quarantined_instances: quarantined
+ }