mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 04:42:08 +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
|
||||
clients={
|
||||
clients.map((client) => {
|
||||
if (client.channel?.id === currentChannel?.id) {
|
||||
if (client.channel?.id === currentChannel?.id && client.channel.connection.id === activeConnectionId) {
|
||||
return client;
|
||||
}
|
||||
}) as IClient[]
|
||||
|
||||
Reference in New Issue
Block a user