mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
We now try harder to find the first unread message in an upcoming narrow, which has the user-visible effect that we select the unread message before waiting for search results. Before this change, we only applied this logic to searches that were things like exactly stream/topic or exactly is-private. Now we will also handle things like stream/topic/sender. For the stream/topic piece we look up candidate unread ids using the steam/topic buckets in unread.js, but then we still filter those messages by stream/topic/sender as we look for the first unread id.
8.6 KiB
8.6 KiB