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.

minor: Pass the error function to channel call in with_first_message_id.

Ganesh Pawarf4dac2dd77e3
diff --git a/static/js/stream_popover.js b/static/js/stream_popover.js
index f5e3b098ffb..56222bff498 100644
--- a/static/js/stream_popover.js
+++ b/static/js/stream_popover.js
@@ -722,7 +722,7 @@ function with_first_message_id(stream_id, topic_name, success_cb, error_cb) {
const message_id = data.messages[0].id;
success_cb(message_id);
},
- error_cb,
+ error: error_cb,
});
}