It seems like it must be really easy to fix, but the main mastodon dev team legitimately has a ton of other stuff to do at all times so will probably never get to this, and I have still never gotten around to setting up a Mastodon test bed so I'm probably not going to be attempting a patch myself