mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00: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 ae3231e1406d4ccf1d048ef8a8d8f744f840896b