remove unused settings from /api/statusnet/config

This commit is contained in:
hakabahitoyo 2018-08-26 17:40:15 +09:00
parent 89e2cb0828
commit 946a0769c4

View File

@ -172,10 +172,7 @@ def config(conn, _params) do
redirectRootLogin: Keyword.get(@instance_fe, :redirect_root_login), redirectRootLogin: Keyword.get(@instance_fe, :redirect_root_login),
chatDisabled: !Keyword.get(@instance_chat, :enabled), chatDisabled: !Keyword.get(@instance_chat, :enabled),
showInstanceSpecificPanel: Keyword.get(@instance_fe, :show_instance_panel), showInstanceSpecificPanel: Keyword.get(@instance_fe, :show_instance_panel),
showWhoToFollowPanel: Keyword.get(@instance_fe, :show_who_to_follow_panel),
scopeOptionsEnabled: Keyword.get(@instance_fe, :scope_options_enabled), scopeOptionsEnabled: Keyword.get(@instance_fe, :scope_options_enabled),
whoToFollowProvider: Keyword.get(@instance_fe, :who_to_follow_provider),
whoToFollowLink: Keyword.get(@instance_fe, :who_to_follow_link),
collapseMessageWithSubject: collapseMessageWithSubject:
Keyword.get(@instance_fe, :collapse_message_with_subject) Keyword.get(@instance_fe, :collapse_message_with_subject)
} }