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.

edited_notice: Fix missing "Moved" notice.

Prakhar Pratyushdddcd0824e2f
diff --git a/web/src/message_list_view.ts b/web/src/message_list_view.ts
index f0eff86a9a5..93de7db21ec 100644
--- a/web/src/message_list_view.ts
+++ b/web/src/message_list_view.ts
@@ -192,7 +192,7 @@ function analyze_edit_history(
moved = true;
}
- if (edit_history_event.prev_topic) {
+ if (edit_history_event.prev_topic !== undefined) {
// TODO: Possibly this assert could be removed if we tightened the type
// on edit history elements such that a `prev_topic` being present means a
// `topic` element is.