Skip to content

Commit b6c1f8f

Browse files
committed
update
1 parent 4566ed4 commit b6c1f8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/components/Chat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ function () {
5858
function Chat(username, password, channel, obs) {
5959
_classCallCheck(this, Chat);
6060

61-
this.username = username; // username
61+
this.username = username.toLowerCase(); // username
6262

6363
this.password = password; // oauth
6464

65-
this.channel = "#".concat(channel); // #channel
65+
this.channel = "#".concat(channel.toLowerCase()); // #channel
6666

6767
this.obsProps = obs;
6868
this.obs = obs.obs;

0 commit comments

Comments
 (0)