mirror of https://github.com/zulip/zulip.git
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:
parent
f905bfdcce
commit
71341d282e
|
@ -272,9 +272,6 @@ export function activate(raw_terms, opts) {
|
|||
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
|
||||
// places in our code without passing through hashchange,
|
||||
// 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 = {
|
||||
op: "function",
|
||||
description: "narrow",
|
||||
data: {was_narrowed_already, raw_terms, trigger: opts.trigger},
|
||||
data: {raw_terms, trigger: opts.trigger},
|
||||
};
|
||||
let span;
|
||||
if (!existing_span) {
|
||||
|
|
Loading…
Reference in New Issue