twitterapi: frontend config: add formattingOptionsEnabled
authorWilliam Pitcock <nenolod@dereferenced.org>
Sun, 9 Sep 2018 12:12:31 +0000 (12:12 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Fri, 5 Oct 2018 20:49:34 +0000 (20:49 +0000)
config/config.exs
lib/pleroma/web/twitter_api/controllers/util_controller.ex

index 2290119f70c502232e0c942315709c7b592d21af..c3094eb2b16796b17ebbe574f54071e3e02a37cd 100644 (file)
@@ -98,6 +98,7 @@ config :pleroma, :fe,
   redirect_root_login: "/main/friends",
   show_instance_panel: true,
   scope_options_enabled: false,
+  formatting_options_enabled: false,
   collapse_message_with_subject: false
 
 config :pleroma, :activitypub,
index 886b70f5f2b24d892b350fd4f42a66f3d822348b..4aaf28869c7dc8333651e209c7fc3296d7dcc33c 100644 (file)
@@ -176,6 +176,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
           chatDisabled: !Keyword.get(@instance_chat, :enabled),
           showInstanceSpecificPanel: Keyword.get(@instance_fe, :show_instance_panel),
           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)
         }