mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 03:13:39 +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. |
||
---|---|---|
.. | ||
regular | ||
scheduled/chat | ||
service_job.rb |