mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 00:09:35 +00:00
MastoAPI: Add max_toot_chars.
This commit is contained in:
parent
6900851581
commit
cf0bbf320d
|
@ -106,7 +106,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
||||||
user_count: 1,
|
user_count: 1,
|
||||||
status_count: 2,
|
status_count: 2,
|
||||||
domain_count: 3
|
domain_count: 3
|
||||||
}
|
},
|
||||||
|
max_toot_chars: Keyword.get(@instance, :limit)
|
||||||
}
|
}
|
||||||
|
|
||||||
json(conn, response)
|
json(conn, response)
|
||||||
|
|
Loading…
Reference in a new issue