starred_messages: Extract starred_messages_ui.js.

This commit is contained in:
Tim Abbott
2023-05-31 17:40:51 -07:00
parent 2437951cd7
commit 7ad3225ecc
9 changed files with 85 additions and 78 deletions

View File

@@ -25,6 +25,7 @@ import * as recent_senders from "./recent_senders";
import * as recent_topics_ui from "./recent_topics_ui";
import * as recent_topics_util from "./recent_topics_util";
import * as starred_messages from "./starred_messages";
import * as starred_messages_ui from "./starred_messages_ui";
import * as stream_list from "./stream_list";
import * as stream_topic_history from "./stream_topic_history";
import * as sub_store from "./sub_store";
@@ -575,4 +576,5 @@ export function remove_messages(message_ids) {
recent_senders.update_topics_of_deleted_message_ids(message_ids);
recent_topics_ui.update_topics_of_deleted_message_ids(message_ids);
starred_messages.remove(message_ids);
starred_messages_ui.rerender_ui();
}