directly allow sending, when we are the server

This commit is contained in:
Felix Hartmann (PEA3-Fe-FI)
2021-09-21 12:37:39 +02:00
parent a2c35a7536
commit ccf2d03502

View File

@@ -139,10 +139,7 @@ namespace PolyChat.Models
Console.WriteLine("Command recieved!" + Data[0]); Console.WriteLine("Command recieved!" + Data[0]);
}); });
connection.On(SocketIOEvent.CONNECTION, () => client.connected = true;
{
client.connected = true;
});
} }
//================================================================================== //==================================================================================
//Getter and Setter //Getter and Setter