[misc] Router: prefix the publicId with 'P.' for easy differentiation

This commit is contained in:
Jakob Ackermann 2020-06-08 11:29:40 +01:00
parent c6d08647c7
commit 32af7001fc

View file

@ -68,7 +68,7 @@ module.exports = Router =
return
# send positive confirmation that the client has a valid connection
client.publicId = base64id.generateId()
client.publicId = 'P.' + base64id.generateId()
client.emit("connectionAccepted", null, client.publicId)
metrics.inc('socket-io.connection')