[mastodon-client] Add max_toot_chars to /v1/instance

This commit is contained in:
Laura Hausmann 2023-10-12 19:27:37 +02:00
parent ef98c86958
commit 5e61be286c
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605

View File

@ -55,6 +55,7 @@ export class MiscHelpers {
status_count: noteCount, status_count: noteCount,
domain_count: instanceCount, domain_count: instanceCount,
}), }),
max_toot_chars: MAX_NOTE_TEXT_LENGTH,
thumbnail: meta.bannerUrl || "/static-assets/transparent.png", thumbnail: meta.bannerUrl || "/static-assets/transparent.png",
languages: meta.langs, languages: meta.langs,
registrations: !meta.disableRegistration, registrations: !meta.disableRegistration,