mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 14:29:38 +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.