OK this is done in
https://github.com/discourse/discourse/commit/6593f0355f80a13f0f62993c7d776654141b61b4