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.

compose_actions: Fix incorrect condition.

Aman Agrawalf71337aaf7bd
diff --git a/web/src/compose_actions.js b/web/src/compose_actions.js
index a4eabbf5788..27f596c7224 100644
--- a/web/src/compose_actions.js
+++ b/web/src/compose_actions.js
@@ -126,7 +126,7 @@ export function complete_starting_tasks(msg_type, opts) {
}
export function maybe_scroll_up_selected_message(opts) {
- if (!opts.skip_scrolling_selected_message) {
+ if (opts.skip_scrolling_selected_message) {
return;
}