Let's live-toot the adding of quote-posting to #Mastodon for #AppleII, in case it interests some nerds.
First of all, let's detect whether a toot is quotable: https://github.com/colinleroy/a2tools/commit/275c282698a18169fcd0bda3ffbc0af55cbdbfe2
The JSON field quote_approval.current_user of a Status entity will either contain automatic, manual, denied or unsupported_policy. We'll consider everything but denied as quotable.
If the field doesn't exist, for retro-compatibility, we'll use a default d.
In the commit you'll see that we compare the first character of that field to d, this is much tighter size-wise than an strcmp().