jeffalo / my-ocular

backend for ocular
https://ocular.jeffalo.net/docs/about#what-iswas-my-ocular
9 stars 10 forks source link

Added a length limit to statuses, to stop people from creating very long statuses #12

Closed CluckCluckChicken closed 3 years ago

CluckCluckChicken commented 3 years ago

I haven't managed to test it so make sure it works first if you want to merge it. Length limit is stored in statusLengthLimit.

jeffalo commented 3 years ago

thanks. this is something i intend on thinking off a little more (i want to implement a system to share data between ocular and my-ocular better) (and instead of cutting statuses off i would probably send an error). in the future to save you some time, please do PRs only for issues marked "help wanted" :)

thanks though!