Both clients playing music
This commit is contained in:
parent
bbf8f3ae57
commit
5f035e9bcb
@ -227,7 +227,16 @@ namespace Aurora.Design.Views.Party
|
|||||||
_client.Start(Hostname, SettingsService.Instance.DefaultPort.ToString());
|
_client.Start(Hostname, SettingsService.Instance.DefaultPort.ToString());
|
||||||
await JoinParty();
|
await JoinParty();
|
||||||
|
|
||||||
SetState(PartyState.InParty);
|
//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()
|
private bool CanJoinExecute()
|
||||||
|
Reference in New Issue
Block a user