Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typing: Don't send typing notification if you can't send message.
Shubham Padia7f08278ce0a7
diff --git a/web/src/typing.ts b/web/src/typing.tsindex e68c2afbe75..521dfb4dd5d 100644--- a/web/src/typing.ts+++ b/web/src/typing.ts@@ -82,6 +82,10 @@ function send_stream_typing_notification(topic: string,operation: "start" | "stop",): void {+ const stream = stream_data.get_sub_by_id(stream_id)!;+ if (!stream_data.can_post_messages_in_stream(stream)) {+ return;+ }const data = {type: "stream",stream_id: JSON.stringify(stream_id),