aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-08-24 18:03:41 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-08-24 18:21:42 +0000
commit09cb40220336f464e63ad4f56370c284028ccc94 (patch)
tree469f1c2276ac034793b8e8176b7d141fde20036b
parente416469a409e6ff4bea84da40a5af43fe532a2ce (diff)
downloadpleroma-09cb40220336f464e63ad4f56370c284028ccc94.tar.gz
fe config: add collapse_message_with_subject fe option
-rw-r--r--config/config.exs3
-rw-r--r--lib/pleroma/web/twitter_api/controllers/util_controller.ex4
2 files changed, 5 insertions, 2 deletions
diff --git a/config/config.exs b/config/config.exs
index 839e6bde6..08d2381b2 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -76,7 +76,8 @@ config :pleroma, :fe,
who_to_follow_provider:
"https://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-osa-api.cgi?{{host}}+{{user}}",
who_to_follow_link: "https://vinayaka.distsn.org/?{{host}}+{{user}}",
- scope_options_enabled: false
+ scope_options_enabled: false,
+ collapse_message_with_subject: false
config :pleroma, :activitypub,
accept_blocks: true,
diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex
index 24ebdf007..7dbac620e 100644
--- a/lib/pleroma/web/twitter_api/controllers/util_controller.ex
+++ b/lib/pleroma/web/twitter_api/controllers/util_controller.ex
@@ -175,7 +175,9 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
showWhoToFollowPanel: Keyword.get(@instance_fe, :show_who_to_follow_panel),
scopeOptionsEnabled: Keyword.get(@instance_fe, :scope_options_enabled),
whoToFollowProvider: Keyword.get(@instance_fe, :who_to_follow_provider),
- whoToFollowLink: Keyword.get(@instance_fe, :who_to_follow_link)
+ whoToFollowLink: Keyword.get(@instance_fe, :who_to_follow_link),
+ collapseMessageWithSubject:
+ Keyword.get(@instance_fe, :collapse_message_with_subject)
}
}
})