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:
Aman Agrawal
2024-05-29 08:36:20 +00:00
committed by Tim Abbott
parent f905bfdcce
commit 71341d282e

View File

@@ -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) {