Add char_limit to initial-state of mastofe
This commit is contained in:
parent
f8f3abe1be
commit
457e040473
1 changed files with 2 additions and 1 deletions
|
@ -564,7 +564,8 @@ def index(%{assigns: %{user: user}} = conn, _params) do
|
|||
},
|
||||
push_subscription: nil,
|
||||
accounts: accounts,
|
||||
custom_emojis: mastodon_emoji
|
||||
custom_emojis: mastodon_emoji,
|
||||
char_limit: Keyword.get(@instance, :limit)
|
||||
} |> Jason.encode!
|
||||
conn
|
||||
|> put_layout(false)
|
||||
|
|
Loading…
Reference in a new issue