Fixed small bug related to double connecting to the same server

master
WolverinDEV 2021-02-20 18:58:09 +01:00
parent aa360e4708
commit 711632b65d
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ async function doHandleConnectRequest(serverAddress: string, serverUniqueId: str
}
server_connections.setActiveConnectionHandler(targetServerConnection);
if(isCurrentServerConnection) {
if(targetServerConnection.getCurrentServerUniqueId() === serverUniqueId) {
/* Just join the new channel and may use the token (before) */
/* TODO: Use the token! */