diff --git a/DoctorApp/Utils/Client.cs b/DoctorApp/Utils/Client.cs index 4477b82..757f99c 100644 --- a/DoctorApp/Utils/Client.cs +++ b/DoctorApp/Utils/Client.cs @@ -102,7 +102,7 @@ namespace DoctorApp.Utils Debug.WriteLine($"login failed \"{responseStatus}\""); } break; - /*case DataParser.START_SESSION: + case DataParser.START_SESSION: Console.WriteLine("Session started!"); break; case DataParser.STOP_SESSION: diff --git a/Server/Communication.cs b/Server/Communication.cs index 1641174..f677ddd 100644 --- a/Server/Communication.cs +++ b/Server/Communication.cs @@ -59,7 +59,7 @@ namespace Server internal void Disconnect(Client client) { clients.Remove(client); - doctor.sendMessage(DataParser.getDisconnectJson(client.username)); + Doctor.sendMessage(DataParser.getDisconnectJson(client.username)); } public void NewLogin(Client client)