Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

ui_init: Fix bug in argument type.

Kislay Vermaa03e3a516619
diff --git a/web/src/ui_init.js b/web/src/ui_init.js
index feb7fc9d71d..89b5839cfcc 100644
--- a/web/src/ui_init.js
+++ b/web/src/ui_init.js
@@ -713,7 +713,7 @@ export async function initialize_everything(state_data) {
];
if (latest_msg_id !== undefined) {
- narrow.push({operator: "with", operand: latest_msg_id});
+ narrow.push({operator: "with", operand: String(latest_msg_id)});
}
message_view.show(narrow, {trigger: "sidebar"});