mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 21:02:10 +01:00
[fix] fixed a bug when connected twice to the same server
This commit is contained in:
@@ -57,7 +57,7 @@ export default function App() {
|
|||||||
<Viewer
|
<Viewer
|
||||||
clients={
|
clients={
|
||||||
clients.map((client) => {
|
clients.map((client) => {
|
||||||
if (client.channel?.id === currentChannel?.id) {
|
if (client.channel?.id === currentChannel?.id && client.channel.connection.id === activeConnectionId) {
|
||||||
return client;
|
return client;
|
||||||
}
|
}
|
||||||
}) as IClient[]
|
}) as IClient[]
|
||||||
|
|||||||
Reference in New Issue
Block a user