assigning a uuid when establishing a connection
parent
57a1164b2c
commit
1c6a8a3dd9
|
@ -36,6 +36,10 @@ func RunHub() {
|
||||||
|
|
||||||
client := serverCommunication.GetWebClientByUuid(clientDb.Uuid)
|
client := serverCommunication.GetWebClientByUuid(clientDb.Uuid)
|
||||||
|
|
||||||
|
if client.Uuid == "" {
|
||||||
|
client.Uuid = clientDb.Uuid
|
||||||
|
}
|
||||||
|
|
||||||
if token == clientDb.VoiceSessionToken { // voice
|
if token == clientDb.VoiceSessionToken { // voice
|
||||||
client.VoiceConn = connection
|
client.VoiceConn = connection
|
||||||
logger.Web.Println("voice")
|
logger.Web.Println("voice")
|
||||||
|
|
Loading…
Reference in New Issue