mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-29 07:39:00 +00:00
actually backpropagate session id in identify to ws object
This commit is contained in:
@@ -164,6 +164,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
||||
"opt for token refresh.",
|
||||
);
|
||||
|
||||
this.session_id = session.session_id;
|
||||
this.session = session;
|
||||
this.session.status = identify.presence?.status || "online";
|
||||
this.session.last_seen = new Date();
|
||||
|
||||
Reference in New Issue
Block a user