mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message_view: Only show just to unread banner in conversation views.
Showing this banner in every view can be annoying. As a first step, we only show it in conversation view to reduce the banner spam.
This commit is contained in:
@@ -780,7 +780,10 @@ export let show = (raw_terms: NarrowTerm[], show_opts: ShowMessageViewOpts): voi
|
||||
select_opts,
|
||||
then_select_offset,
|
||||
);
|
||||
if (id_info.first_unread_msg_id_pending_server_verification) {
|
||||
if (
|
||||
id_info.first_unread_msg_id_pending_server_verification &&
|
||||
filter.is_conversation_view()
|
||||
) {
|
||||
const params = message_fetch.get_parameters_for_message_fetch_api({
|
||||
anchor: "first_unread",
|
||||
num_before: 0,
|
||||
|
Reference in New Issue
Block a user