mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 13:23:52 +08:00
f69748e325
Since we create threads in the background regardless of whether threading is enabled for a channel, we get the unexpected behaviour of everyone having a lot of unread threads when threading is enabled for the channel. To counteract this, when the admin enables threads for a channel we can just run a high priority background job to mark all threads as read in the channel for all users, so they are essentially starting from a clean slate. |
||
---|---|---|
.. | ||
chat | ||
auto_join_channel_batch.rb |