I submitted a PR for it if anyone would like to take a look and review
https://github.com/discourse/discourse/pull/3546