mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-02-18 18:02:36 +01:00
Fix messenger sound when thread is closed
This commit is contained in:
parent
082b92c9c3
commit
69d9ef668b
@ -84,6 +84,8 @@ const useMessengerState = () =>
|
|||||||
|
|
||||||
return newValue;
|
return newValue;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if(activeThreadId === threadId) setActiveThreadId(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
const sendMessage = (thread: MessengerThread, text: string) =>
|
const sendMessage = (thread: MessengerThread, text: string) =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user