mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
expose user_id on connected users
This commit is contained in:
parent
58411d9efe
commit
012143ae8d
@ -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