Commit e860343e authored by JC Brand's avatar JC Brand

Bugfix. The chatroom was being joined twice, causing duplication.

parent dbd45397
...@@ -1900,9 +1900,6 @@ ...@@ -1900,9 +1900,6 @@
'chatroom': true, 'chatroom': true,
'box_id' : b64_sha1(jid) 'box_id' : b64_sha1(jid)
}); });
if (!chatroom.get('connected')) {
converse.chatboxviews.get(jid).connect(null);
}
} }
}); });
......
<div class="chatroom-form-container">
<form class="chatroom-form">
<legend>{{heading}}</legend>
<label>{{label_password}}<input type="password" name="password"/></label>
<input type="submit" value="{{label_submit}}"/>
</form>
</div>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment