twitterapi: frontend config: add formattingOptionsEnabled

This commit is contained in:
William Pitcock 2018-09-09 12:12:31 +00:00
parent b1be9415ef
commit 16307da311
2 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,7 @@
redirect_root_login: "/main/friends", redirect_root_login: "/main/friends",
show_instance_panel: true, show_instance_panel: true,
scope_options_enabled: false, scope_options_enabled: false,
formatting_options_enabled: false,
collapse_message_with_subject: false collapse_message_with_subject: false
config :pleroma, :activitypub, config :pleroma, :activitypub,

View File

@ -176,6 +176,7 @@ def config(conn, _params) do
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),
scopeOptionsEnabled: Keyword.get(@instance_fe, :scope_options_enabled), scopeOptionsEnabled: Keyword.get(@instance_fe, :scope_options_enabled),
formattingOptionsEnabled: Keyword.get(@instance_fe, :formatting_options_enabled),
collapseMessageWithSubject: Keyword.get(@instance_fe, :collapse_message_with_subject) collapseMessageWithSubject: Keyword.get(@instance_fe, :collapse_message_with_subject)
} }