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: Fix the name of a property being accessed wrongly.

N-Shar-ma571f6b1e915c
diff --git a/static/js/message_edit.js b/static/js/message_edit.js
index c7253c18aa1..ec39323211f 100644
--- a/static/js/message_edit.js
+++ b/static/js/message_edit.js
@@ -413,7 +413,7 @@ export function get_available_streams_for_moving_messages(current_stream_id) {
return stream_data
.subscribed_subs()
.filter((stream) => {
- if (stream.id === current_stream_id) {
+ if (stream.stream_id === current_stream_id) {
return true;
}
return stream_data.can_post_messages_in_stream(stream);