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_edit: Repair incorrectly moved with_first_message_id function.

Anders Kaseorg89d22d143c42
diff --git a/static/js/message_edit.js b/static/js/message_edit.js
index 61c82ffee89..8f04fe51337 100644
--- a/static/js/message_edit.js
+++ b/static/js/message_edit.js
@@ -1237,6 +1237,6 @@ export function with_first_message_id(stream_id, topic_name, success_cb, error_c
const message_id = data.messages[0].id;
success_cb(message_id);
},
- error_cb,
+ error: error_cb,
});
}