This was implemented recently in
https://github.com/discourse/discourse/commit/c6db6c880c50350f94fb8d046653213d7a5bb89d