mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 13:16:06 +08:00

This commit was incorrectly removed of https://github.com/discourse/discourse/pull/23078 and would set the state only on entering (or exiting) chat route. The tests were already present in the previous PR.