Chat unusable after update

It seems like commit 39902c148fd198b9608158f6a9d6082274f51b90 caused web-based updates on instances that haven’t been updated since (not sure when, but sometime on or after May 10) to result in chat being unusable post-update.