mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
narrow: Remove last remains of was_narrowed_already.
This doesn't seem useful even for sentry logs since they
will already contain the full hash change history.
Rest of it was removed in 240f7b53b2.
This commit is contained in:
@@ -272,9 +272,6 @@ export function activate(raw_terms, opts) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use to determine if user read any unread messages outside the combined feed.
|
|
||||||
const was_narrowed_already = message_lists.current?.narrowed;
|
|
||||||
|
|
||||||
// Since narrow.activate is called directly from various
|
// Since narrow.activate is called directly from various
|
||||||
// places in our code without passing through hashchange,
|
// places in our code without passing through hashchange,
|
||||||
// we need to check if the narrow is allowed for spectator here too.
|
// we need to check if the narrow is allowed for spectator here too.
|
||||||
@@ -309,7 +306,7 @@ export function activate(raw_terms, opts) {
|
|||||||
const span_data = {
|
const span_data = {
|
||||||
op: "function",
|
op: "function",
|
||||||
description: "narrow",
|
description: "narrow",
|
||||||
data: {was_narrowed_already, raw_terms, trigger: opts.trigger},
|
data: {raw_terms, trigger: opts.trigger},
|
||||||
};
|
};
|
||||||
let span;
|
let span;
|
||||||
if (!existing_span) {
|
if (!existing_span) {
|
||||||
|
|||||||
Reference in New Issue
Block a user