aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/config.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/config.ex')
-rw-r--r--lib/pleroma/config.ex4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pleroma/config.ex b/lib/pleroma/config.ex
index f17e14128..ceb8c8b5a 100644
--- a/lib/pleroma/config.ex
+++ b/lib/pleroma/config.ex
@@ -96,6 +96,10 @@ defmodule Pleroma.Config do
end
end
+ def improved_hashtag_timeline_path, do: [:instance, :improved_hashtag_timeline]
+ def improved_hashtag_timeline, do: get(improved_hashtag_timeline_path())
+ def object_embedded_hashtags?, do: !improved_hashtag_timeline()
+
def oauth_consumer_strategies, do: get([:auth, :oauth_consumer_strategies], [])
def oauth_consumer_enabled?, do: oauth_consumer_strategies() != []