Rolling back to old logic to provide mock device id in websocket gateway

This commit is contained in:
2025-12-03 21:30:29 +08:00
parent c45be62331
commit a88f42b26a

View File

@@ -42,7 +42,7 @@ public class WebSocketController(
var deviceId = currentSession.ClientId;
if (string.IsNullOrEmpty(deviceId))
return BadRequest("Unable to determine device id");
deviceId = Guid.NewGuid().ToString();
if (deviceAlt is not null)
deviceId = $"{deviceId}+{deviceAlt}";