mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 02:46:17 +08:00
5ce4af1aa6
Previously we only counted mentions that were made within channels, however for threads this was never implemented. This change adds a mention count to the ThreadUnreadsQuery, which is used for channel thread lists and the user thread list. We are also expanding channel mentions count to include mentions within threads. The goal is to have a more consistent urgent badge across chat, in places such as channel lists and the chat header. |
||
---|---|---|
.. | ||
channel_memberships_query_spec.rb | ||
channel_unreads_query_spec.rb | ||
messages_query_spec.rb | ||
thread_participant_query_spec.rb | ||
thread_unreads_query_spec.rb | ||
tracking_state_report_query_spec.rb | ||
users_from_usernames_and_groups_query_spec.rb |