lhl/voicechat2

Better Sessions

lhl opened this issue · 0 comments

lhl commented

Right now sessions get assigned by UUID attached to a websocket.

However, that means if we establish a new websocket due to a disconnection, we lose our conversation history.

We should story the UUID that's generated, and on the client, if we need to generate a new socket, we should be able to pass and reconnect to our old UUID.

This is a multi-user security issue, so needs to have a signature (JWT?)