Strange switch button on chat

Is this what broke everything?
https://github.com/discourse/discourse/commit/b2b84cc957367c467ec28b70af9c0e392ee8ecab