mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 19:52:11 +08:00

Instead of just marking the state read in JS for each channel after the AJAX call, we can instead just rely on the MessageBus user-tracking-state chat channel, and publish the state to all the channels affected in MarkAllUserChannelsRead. This will make it so the blue dots for the channels are cleared across all tabs.