mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 08:16:16 +00:00
Add char_limit to initial-state of mastofe
This commit is contained in:
parent
f8f3abe1be
commit
457e040473
|
@ -564,7 +564,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
||||||
},
|
},
|
||||||
push_subscription: nil,
|
push_subscription: nil,
|
||||||
accounts: accounts,
|
accounts: accounts,
|
||||||
custom_emojis: mastodon_emoji
|
custom_emojis: mastodon_emoji,
|
||||||
|
char_limit: Keyword.get(@instance, :limit)
|
||||||
} |> Jason.encode!
|
} |> Jason.encode!
|
||||||
conn
|
conn
|
||||||
|> put_layout(false)
|
|> put_layout(false)
|
||||||
|
|
Loading…
Reference in a new issue