From f296bba7d689670e80d2ffeb6feefcf2538965c6 Mon Sep 17 00:00:00 2001 From: Janis Date: Wed, 28 Jun 2023 23:32:18 +0200 Subject: [PATCH] [fix] fixed a bug when connected twice to the same server --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 79e8a34..0937957 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -57,7 +57,7 @@ export default function App() { { - if (client.channel?.id === currentChannel?.id) { + if (client.channel?.id === currentChannel?.id && client.channel.connection.id === activeConnectionId) { return client; } }) as IClient[]