fe config: add collapse_message_with_subject fe option
authorWilliam Pitcock <nenolod@dereferenced.org>
Fri, 24 Aug 2018 18:03:41 +0000 (18:03 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Fri, 24 Aug 2018 18:21:42 +0000 (18:21 +0000)
config/config.exs
lib/pleroma/web/twitter_api/controllers/util_controller.ex

index 839e6bde650440bc987f3a9cb58010541a62c235..08d2381b2633a662c0f6c96cfb2ae122bc117ff6 100644 (file)
@@ -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,
index 24ebdf007680f5f1dc65ea025e2d916ef000d15e..7dbac620ef2cffe264f3ea00813a44e1b76ee52e 100644 (file)
@@ -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)
             }
           }
         })