New frontend options
authorscarlett <nia@netbsd.org>
Sun, 21 Oct 2018 11:52:52 +0000 (12:52 +0100)
committerscarlett <nia@netbsd.org>
Sun, 21 Oct 2018 11:52:52 +0000 (12:52 +0100)
lib/pleroma/web/twitter_api/controllers/util_controller.ex

index 109704d00593c60bc586137f49cf80d7cc314b8f..01cd17121ef2ac30c804980d5e79e44d0a3f51fa 100644 (file)
@@ -177,7 +177,9 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
           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)
+          collapseMessageWithSubject: Keyword.get(@instance_fe, :collapse_message_with_subject),
+          hidePostStats: Keyword.get(@instance_fe, :hide_post_stats),
+          hideUserStats: Keyword.get(@instance_fe, :hide_user_stats)
         }
 
         managed_config = Keyword.get(@instance, :managed_config)