mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
expose user_id on connected users
This commit is contained in:
parent
73b0f5c5c6
commit
bd6a73b136
@ -86,8 +86,8 @@ class Room {
|
||||
socket.emit("room:joined", {
|
||||
room: this.roomName,
|
||||
limitations: this.limitations,
|
||||
connectedUsers: this.connections.map((conn) => {
|
||||
return conn.user_id
|
||||
connectedUsers: this.connections.map((socket_conn) => {
|
||||
return socket_conn.userData._id
|
||||
}),
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user