message_actions_popover: Select message being moved.

This helps keep the content of this message in the move messages
modal relevant.
This commit is contained in:
Aman Agrawal 2024-02-20 16:20:29 +00:00 committed by Tim Abbott
parent 4d1bb762be
commit 0c6dfd1e5e
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ export function initialize() {
$popper.one("click", ".popover_move_message", (e) => { $popper.one("click", ".popover_move_message", (e) => {
const message_id = $(e.currentTarget).data("message-id"); const message_id = $(e.currentTarget).data("message-id");
message_lists.current.select_id(message_id);
const message = message_lists.current.get(message_id); const message = message_lists.current.get(message_id);
stream_popover.build_move_topic_to_stream_popover( stream_popover.build_move_topic_to_stream_popover(
message.stream_id, message.stream_id,