Fix messenger sound when thread is closed

This commit is contained in:
Bill 2022-07-26 18:36:39 -04:00
parent 082b92c9c3
commit 69d9ef668b

View File

@ -84,6 +84,8 @@ const useMessengerState = () =>
return newValue;
});
if(activeThreadId === threadId) setActiveThreadId(-1);
}
const sendMessage = (thread: MessengerThread, text: string) =>