diff --git a/modules/UI/UI.js b/modules/UI/UI.js index 7680544d2..70db551d0 100644 --- a/modules/UI/UI.js +++ b/modules/UI/UI.js @@ -590,7 +590,7 @@ UI.checkForNicknameAndJoin = function () { if (config.useNicks) { nick = window.prompt('Your nickname (optional)'); } - xmpp.joinRooom(roomName, config.useNicks, nick); + xmpp.joinRoom(roomName, config.useNicks, nick); } diff --git a/modules/xmpp/xmpp.js b/modules/xmpp/xmpp.js index 387897e60..3adac1780 100644 --- a/modules/xmpp/xmpp.js +++ b/modules/xmpp/xmpp.js @@ -159,7 +159,7 @@ var XMPP = { promptLogin: function () { UI.showLoginPopup(connect); }, - joinRooom: function(roomName, useNicks, nick) + joinRoom: function(roomName, useNicks, nick) { var roomjid; roomjid = roomName;