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.

(cherry picked from commit aa76919ddb)
This commit is contained in:
Aman Agrawal 2024-02-04 02:25:42 +00:00 committed by Tim Abbott
parent c9eb942105
commit 9b49909d3e
1 changed files with 1 additions and 1 deletions

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