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.

message_flags.test: Call send_read with an array.

Anders Kaseorg941a9bab38da
diff --git a/web/tests/message_flags.test.js b/web/tests/message_flags.test.js
index 1c77de09043..cc6ea80e74c 100644
--- a/web/tests/message_flags.test.js
+++ b/web/tests/message_flags.test.js
@@ -285,7 +285,7 @@ run_test("read_empty_data", ({override}) => {
}
// send read to obtain success callback
- send_read({locally_echoed: false, id: 1});
+ send_read([{locally_echoed: false, id: 1}]);
// verify early return on empty data
const success_callback = channel_post_opts.success;