mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
fix: send touchpanel key to client when client joins direct server
This commit is contained in:
parent
99253b30c2
commit
44432f7a41
2 changed files with 10 additions and 2 deletions
|
|
@ -723,7 +723,7 @@ namespace PepperDash.Essentials.WebSocketServer
|
|||
|
||||
private UiClient BuildUiClient(string roomKey, JoinToken token, string key)
|
||||
{
|
||||
var c = new UiClient($"uiclient-{key}-{roomKey}-{token.Id}", token.Id, token.Token);
|
||||
var c = new UiClient($"uiclient-{key}-{roomKey}-{token.Id}", token.Id, token.Token, token.TouchpanelKey);
|
||||
this.LogInformation("Constructing UiClient with key {key} and ID {id}", key, token.Id);
|
||||
c.Controller = _parent;
|
||||
c.RoomKey = roomKey;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue