fix(messenger): send typing-stop to peer when switching conversations

This commit is contained in:
simoleo89
2026-06-02 21:25:21 +02:00
parent 7d89ce14d0
commit dc7012794e
@@ -148,12 +148,7 @@ export const FriendsMessengerView: FC<{}> = props =>
{ {
return () => return () =>
{ {
if(typingTimeoutRef.current) stopTyping();
{
clearTimeout(typingTimeoutRef.current);
typingTimeoutRef.current = null;
}
isTypingRef.current = false;
}; };
}, [ activeThread ]); }, [ activeThread ]);