[ADD] added chat to all method from docter, it works but there is sometimes an error in the doctor client app that the buffer in OnRead is full, so will try to fix that tomorrow

This commit is contained in:
Sem van der Hoeven
2020-10-27 21:35:07 +01:00
parent cda8b47ca3
commit 5f2e325cb1
4 changed files with 6 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ namespace DoctorApp.ViewModels
ChatToAll = new RelayCommand<object>((parameter) =>
{
Debug.WriteLine("[CLIENTINFOVIEWMODEL] sending message to all clients");
this.parent?.SendToAllClients(((TextBox)parameter).Text);
});