Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lChap701 committed Nov 10, 2021
1 parent 289ce86 commit 4920b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ io.on("connection", (socket) => {
userMessages = userMessages.filter((obj) => obj.room !== room);
}

// Checks if a new users has been connected
// Checks if a new user has been connected
let result =
connectedUsers.length > 0
? connectedUsers.find((user) => user.id === socket.id)
Expand Down

0 comments on commit 4920b08

Please sign in to comment.