Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
narrow: Don't call deactivate directly.
Aman Agrawal34927a6d96bd
diff --git a/web/src/narrow.js b/web/src/narrow.jsindex 90d83efd909..09d2cfede6b 100644--- a/web/src/narrow.js+++ b/web/src/narrow.js@@ -3,6 +3,7 @@ import $ from "jquery";import {all_messages_data} from "./all_messages_data";import * as blueslip from "./blueslip";+import * as browser_history from "./browser_history";import * as channel from "./channel";import * as compose_actions from "./compose_actions";import * as compose_banner from "./compose_banner";@@ -199,7 +200,7 @@ export function activate(raw_operators, opts) {// no operators were specified. Take us to all messages when this// happens from Recent Conversations view.if (raw_operators.length === 0) {- deactivate(coming_from_recent_view);+ browser_history.go_to_location("#all_messages");return;}