Both clients playing music

This commit is contained in:
watsonb8 2019-11-10 15:33:06 -05:00
parent bbf8f3ae57
commit 5f035e9bcb

View File

@ -227,7 +227,16 @@ namespace Aurora.Design.Views.Party
_client.Start(Hostname, SettingsService.Instance.DefaultPort.ToString());
await JoinParty();
//TODO add cancellation token
try
{
SetState(PartyState.InParty);
await _client.GetEvents().ConfigureAwait(true);
}
catch (Exception ex)
{
Console.WriteLine("Exception occurred while receiviing events: ", ex.Message);
}
}
private bool CanJoinExecute()