diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-09-01 21:12:42 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-09-01 21:12:42 +0000 |
commit | e2ce0e9e05ad09797f18b1a6adff4616704a48cc (patch) | |
tree | 1292015df9e419521d1a2fe814ec3397f671320f /lib | |
parent | c921d998988a0a1b38f10027e66bd06fbcd568e6 (diff) | |
download | pleroma-e2ce0e9e05ad09797f18b1a6adff4616704a48cc.tar.gz |
run `mix format`.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/twitter_api/controllers/util_controller.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex index 5b24809f9..886b70f5f 100644 --- a/lib/pleroma/web/twitter_api/controllers/util_controller.ex +++ b/lib/pleroma/web/twitter_api/controllers/util_controller.ex @@ -176,11 +176,11 @@ 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), - collapseMessageWithSubject: - Keyword.get(@instance_fe, :collapse_message_with_subject) + collapseMessageWithSubject: Keyword.get(@instance_fe, :collapse_message_with_subject) } managed_config = Keyword.get(@instance, :managed_config) + data = if managed_config do data |> Map.put("pleromafe", pleroma_fe) |