mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 05:04:22 +08:00
26f9ccd8bb
When the user sends a message in a thread, we want to
create a membership for them in the background (default
to notification level of Watching) so we can track whether
they have read the thread.
Then, for now since we don't have granular message reading/
scrolling in the thread panel, we just update the thread
last_read_message_id for the user to the latest reply in the
thread when they open the thread panel. This at least will
mark the thread as read.
In future PRs we want to show the blue dot indicator in various
places in the UI for unread threads which will also require
some MessageBus functionality.
This takes into account the same issue fixed for channels
in
|
||
---|---|---|
.. | ||
reset_user_last_read_channel_message_spec.rb | ||
reset_user_last_read_thread_message_spec.rb |