Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
handleJoinMUC: function (e) {
e.preventDefault();
var mucjid = this.$('#joinmuc').val();
me.mucs.add({
id: mucjid,
name: mucjid,
jid: new XMPP.JID(mucjid),
nick: me.nick,
autoJoin: false
});
me.mucs.get(mucjid).join();
}
});