metatext
metatext copied to clipboard
Adapt maxTootChars to new API
Summary
In https://github.com/mastodon/mastodon/pull/16485 (July 2021), the API for getting the maximum length of a post/toot changed. I adapted the model accordingly, so that the number gets fetched correctly from the instance.
If, one day, Metatext wants to use more of those configuration
s, the model needs to be adapted to that accordingly. My implementation here is tailored specifically to the maximum length of a post/toot.
- Fixes #103
Legal
- [x] I have signed Metabolist's Contributor License Agreement