Skip to content

Commit fc33dcb

Browse files
committed
remove unused data
1 parent 5ed320d commit fc33dcb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/server.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ io.on('connection', (client) => {
133133
io.to(roomCode).emit(
134134
'updateUserList',
135135
{
136-
userList: Object.values(roomLists[roomCode]),
137-
activity: { nickName: userName, status: 'JOIN' }
136+
userList: Object.values(roomLists[roomCode])
138137
} // send updated userList to all users in room
139138
);
140139
io.to(roomCode).emit('new chat message', {

0 commit comments

Comments
 (0)