metatext icon indicating copy to clipboard operation
metatext copied to clipboard

Adapt maxTootChars to new API

Open vollkorntomate opened this issue 2 years ago • 0 comments

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 configurations, 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

vollkorntomate avatar Nov 11 '22 15:11 vollkorntomate