diff --git a/client/js/lounge.js b/client/js/lounge.js index 2f9a033f..82abe9d5 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -146,12 +146,12 @@ $(function() { if (chan.length) { chan.trigger("click"); - } else { - socket.emit("input", { - target: chat.data("id"), - text: "/join " + name, - }); } + + socket.emit("input", { + target: chat.data("id"), + text: "/join " + name, + }); }); chat.on("click", ".condensed-summary .content", function() {