compose: Rename get_disabled_send_tooltip to add _html.

It's useful to follow our convention that HTML strings are tagged as such.
This commit is contained in:
Tim Abbott
2025-06-17 16:49:13 -07:00
parent 7bc04bb829
commit 6687cc9328
2 changed files with 2 additions and 2 deletions

View File

@@ -235,7 +235,7 @@ export function initialize(): void {
}
if (instance.reference.classList.contains("disabled-message-send-controls")) {
const error_message = compose_validate.get_disabled_send_tooltip();
const error_message = compose_validate.get_disabled_send_tooltip_html();
instance.setContent(parse_html(error_message));
// `display: flex` doesn't show the tooltip content inline when <i>general chat</i>
// is in the error message.