Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
upload: Prevent sending messages during file uploads.
Aditya Kumar Kasaudhan89c53f015fd7
diff --git a/web/src/compose_validate.ts b/web/src/compose_validate.tsindex 99b94176709..9aacb2bedc0 100644--- a/web/src/compose_validate.ts+++ b/web/src/compose_validate.ts@@ -1011,6 +1011,10 @@ export function validate(scheduling_message: boolean, show_banner = true): boolereturn false;}+ if (upload_in_progress) {+ return false;+ }+return true;}