assigning a uuid when establishing a connection

master
Alex 2021-12-28 21:20:30 +01:00
parent 1c6a8a3dd9
commit f92d79775f
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ func RunHub() {
client := serverCommunication.GetWebClientByUuid(clientDb.Uuid)
logger.Web.Debugln("client uuid", client.Uuid)
if client.Uuid == "" {
client.Uuid = clientDb.Uuid
}