mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
fix(messenger): send typing-stop to peer when switching conversations
This commit is contained in:
@@ -148,12 +148,7 @@ export const FriendsMessengerView: FC<{}> = props =>
|
||||
{
|
||||
return () =>
|
||||
{
|
||||
if(typingTimeoutRef.current)
|
||||
{
|
||||
clearTimeout(typingTimeoutRef.current);
|
||||
typingTimeoutRef.current = null;
|
||||
}
|
||||
isTypingRef.current = false;
|
||||
stopTyping();
|
||||
};
|
||||
}, [ activeThread ]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user