discourse/plugins
Martin Brennan a8cf8e57b4
FIX: Do not count thread messages for channel unreads (#21126)
We currently don't have a nice UI to show unread messages for the thread,
and it will take some time to create one. For now, this commit makes it so
new messages inside a thread do not count towards a chat channel's unread
counts, and new messages sent in a thread do not update a user's `last_read_message_id`
for a channel.

In addition, this PR refactors the `Chat::ChannelFetcher` to use the `Chat::ChannelUnreadsQuery`
query class for consistency, and made said class able to return zeroed-out records
for channels the user is not a member of.

Finally, a small bug is fixed here where if a user's `last_read_message_id` for
a channel was a thread's OM ID, then the thread OM would not show in the
main channel stream for them until another reply to the channel was posted.
2023-04-19 08:53:51 +10:00
..
chat FIX: Do not count thread messages for channel unreads (#21126) 2023-04-19 08:53:51 +10:00
discourse-details Update translations (#21055) 2023-04-11 15:45:03 +02:00
discourse-lazy-videos FIX: Add missing translations strings for lazy-videos (#21127) 2023-04-18 07:01:27 -03:00
discourse-local-dates DEV: Support @debounce decorator in native class syntax (#20521) 2023-03-03 11:48:58 +00:00
discourse-narrative-bot FIX: Render links with subfolders properly in Discobot 2023-04-17 16:53:00 +02:00
discourse-presence Update translations (#20370) 2023-02-20 11:01:01 +01:00
poll UX: Vertical alignment issues on mobile (#21118) 2023-04-17 22:51:13 +05:30
styleguide Update translations (#20861) 2023-04-05 09:12:48 +02:00