mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-18 16:34:27 -04:00
fix: increase typing timeout to 4s (#119)
The frontend only sends typing updates every 2.5-3s, so the 1s timeout caused the typing indicator to flicker. Signed-off-by: Aeledfyr <aeledfyr@gmail.com>
This commit is contained in:
+1
-1
@@ -599,7 +599,7 @@ export async function handleEvent(
|
||||
{ ...event, type: "ChannelStopTyping" },
|
||||
setReady,
|
||||
),
|
||||
1000,
|
||||
4000,
|
||||
) as never;
|
||||
|
||||
client.emit(
|
||||
|
||||
Reference in New Issue
Block a user