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_list: Fix buggy failure to scroll after sending message.

Tim Abbott53d9b5b307c7
diff --git a/static/js/message_list_view.js b/static/js/message_list_view.js
index baa776456bf..f9be6ba4038 100644
--- a/static/js/message_list_view.js
+++ b/static/js/message_list_view.js
@@ -858,7 +858,7 @@ export class MessageListView {
}
if (messages[i].sent_by_me && list.get(id) !== undefined) {
// If this is a reply we just sent, advance the pointer to it.
- list.select_id(messages[i].id, {then_scroll: true, from_scroll: true});
+ list.select_id(messages[i].id, {then_scroll: true});
return {
need_user_to_scroll: false,
};