compose_actions: Add comment about spread syntax overwrite behavior.

This commit is contained in:
YashRE42
2021-12-01 11:52:32 +05:30
committed by Tim Abbott
parent a3095331eb
commit 555f80c34b

View File

@@ -182,6 +182,8 @@ function fill_in_opts_from_current_narrowed_view(msg_type, opts) {
// Set default parameters based on the current narrowed view.
...narrow_state.set_compose_defaults(),
// Set parameters based on provided opts, overwriting
// those set based on current narrowed view, if necessary.
...opts,
};
}