compose_actions: Fix incorrect condition.

This was introduced in #28767 with the intention to skip scrolling
the selected message.

So, the actual bug that the PR fixed would have been just fixed
by opening the compose box early.
This commit is contained in:
Aman Agrawal 2024-02-04 02:25:42 +00:00
parent da7cb0af1c
commit aa76919ddb

View File

@ -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;
}