Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

typing: Pass the type parameter in typing requests.

Tim Abbottd015a8ca5231
diff --git a/web/src/typing.ts b/web/src/typing.ts
index 6aff95e0637..c1829cd1f22 100644
--- a/web/src/typing.ts
+++ b/web/src/typing.ts
@@ -14,6 +14,7 @@ import {user_settings} from "./user_settings";
type TypingAPIRequest = {op: "start" | "stop"} & (
| {
+ type: string;
to: string;
}
| {
@@ -46,6 +47,7 @@ function send_direct_message_typing_notification(
): void {
const data = {
to: JSON.stringify(user_ids_array),
+ type: "direct",
op: operation,
};
send_typing_notification_ajax(data);