It took longer than I thought it would to find, but found I did.
https://github.com/discourse/discourse/pull/4304