Expand subject content automatically when config is set.
This commit is contained in:
parent
bfd5d79826
commit
e27c61218d
2 changed files with 8 additions and 1 deletions
|
|
@ -38,4 +38,11 @@ defmodule Pleroma.Web.StaticFE.StaticFEView do
|
|||
end
|
||||
|
||||
def instance_name, do: Pleroma.Config.get([:instance, :name], "Pleroma")
|
||||
|
||||
def open_content? do
|
||||
Pleroma.Config.get(
|
||||
[:frontend_configurations, :collapse_message_with_subjects],
|
||||
true
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue