Merge remote-tracking branch 'remotes/origin/develop' into feature/object-hashtags...
[akkoma] / lib / pleroma / config.ex
index f17e141282883d7c29e876a253003556a66a7747..0a6ac0ad083062ee9fb71368af74a6f5c531727b 100644 (file)
@@ -96,6 +96,9 @@ 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 oauth_consumer_strategies, do: get([:auth, :oauth_consumer_strategies], [])
 
   def oauth_consumer_enabled?, do: oauth_consumer_strategies() != []