Skip to content

Commit 1e1b738

Browse files
authored
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 <[email protected]>
1 parent 1c8e420 commit 1e1b738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ export async function handleEvent(
599599
{ ...event, type: "ChannelStopTyping" },
600600
setReady,
601601
),
602-
1000,
602+
4000,
603603
) as never;
604604

605605
client.emit(

0 commit comments

Comments
 (0)