Skip to content

Commit

Permalink
wrong password ok
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemenceCartet committed Apr 6, 2023
1 parent 9c6fec1 commit fd446aa
Show file tree
Hide file tree
Showing 363 changed files with 130,271 additions and 26 deletions.
6 changes: 4 additions & 2 deletions back/nest_project/src/chat/chat.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,15 @@ export class ChatService {
room.emit("newUserInChannel", user.id, user.login);
this.listMyChannelEvent(client, user.id);
this.changeLocEvent(client, user, data.channelId, true, roomHandler);
client.emit("true");
})
}
else
client.emit("notice", "Wrong channel password");
client.emit("wrong");
// client.emit("notice", "Wrong password");
}
else
client.emit("notice", "this channel is on invite only");
client.emit("notice", "This channel is on invite only");
}
else
client.emit("notice", "no such channel");
Expand Down
1 change: 1 addition & 0 deletions front/node_modules/.bin/loose-envify

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 68 additions & 0 deletions front/node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

151 changes: 151 additions & 0 deletions front/node_modules/js-tokens/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions front/node_modules/js-tokens/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fd446aa

Please sign in to comment.