aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/twitter_api/controllers
diff options
context:
space:
mode:
authorscarlett <nia@netbsd.org>2018-10-21 12:52:52 +0100
committerscarlett <nia@netbsd.org>2018-10-21 12:52:52 +0100
commita253c1466e47018ca9c98f5b3f60016bc0ecbb6d (patch)
tree5085e1d7b93e940d3f5cc277ba076a2caa211572 /lib/pleroma/web/twitter_api/controllers
parentaaf3fc1575badd13ccbce267895492fa0b708bbb (diff)
downloadpleroma-a253c1466e47018ca9c98f5b3f60016bc0ecbb6d.tar.gz
New frontend options
Diffstat (limited to 'lib/pleroma/web/twitter_api/controllers')
-rw-r--r--lib/pleroma/web/twitter_api/controllers/util_controller.ex4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex
index 109704d00..01cd17121 100644
--- a/lib/pleroma/web/twitter_api/controllers/util_controller.ex
+++ b/lib/pleroma/web/twitter_api/controllers/util_controller.ex
@@ -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)