compose: Move functions around to reduce circular imports.

This commit is contained in:
evykassirer
2023-04-27 14:45:30 -07:00
committed by Tim Abbott
parent 0e13134be2
commit 19d5fedfd2
11 changed files with 116 additions and 117 deletions

View File

@@ -8,7 +8,6 @@ import * as blueslip from "./blueslip";
import * as bot_data from "./bot_data";
import {buddy_list} from "./buddy_list";
import * as compose from "./compose";
import * as compose_actions from "./compose_actions";
import * as compose_fade from "./compose_fade";
import * as compose_pm_pill from "./compose_pm_pill";
import * as compose_recipient from "./compose_recipient";
@@ -827,7 +826,7 @@ export function dispatch_normal_event(event) {
// Update the status text in compose box placeholder when opened to self.
if (compose_pm_pill.get_user_ids().includes(event.user_id)) {
compose_actions.update_placeholder_text();
compose_recipient.update_placeholder_text();
}
}