mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 06:15:48 +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. |
||
---|---|---|
.. | ||
channel_view_builder_spec.rb | ||
create_category_channel_spec.rb | ||
create_direct_message_channel_spec.rb | ||
lookup_channel_threads_spec.rb | ||
lookup_thread_spec.rb | ||
mark_all_user_channels_read_spec.rb | ||
message_destroyer_spec.rb | ||
publisher_spec.rb | ||
restore_message_spec.rb | ||
search_chatable_spec.rb | ||
tracking_state_spec.rb | ||
trash_channel_spec.rb | ||
trash_message_spec.rb | ||
update_channel_spec.rb | ||
update_channel_status_spec.rb | ||
update_thread_notification_settings_spec.rb | ||
update_thread_spec.rb | ||
update_user_last_read_spec.rb | ||
update_user_thread_last_read_spec.rb |