Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose_validate: Use get_full_name instead of get_by_user_id.
Aman Agrawalf02607d555f9
diff --git a/web/src/compose_validate.ts b/web/src/compose_validate.tsindex 08e845ee5be..2e9f443bc85 100644--- a/web/src/compose_validate.ts+++ b/web/src/compose_validate.ts@@ -1039,7 +1039,7 @@ export function validate_private_message(show_banner = true): boolean {for (const user_id of user_ids) {if (!people.is_person_active(user_id)) {- context = {full_name: people.get_by_user_id(user_id).full_name};+ context = {full_name: people.get_full_name(user_id)};const error_message = $t({defaultMessage: "You cannot send messages to deactivated users."},context,