muc-views: no need to set nickname before calling join
It was in any case setting the wrong key, should've been `nick`
This commit is contained in:
parent
3d3738f3be
commit
306748feb0
@ -891,10 +891,7 @@ converse.plugins.add('converse-muc-views', {
|
||||
submitNickname (ev) {
|
||||
ev.preventDefault();
|
||||
const nick = ev.target.nick.value.trim();
|
||||
if (nick) {
|
||||
this.model.join(nick);
|
||||
this.model.set({'nickname': nick});
|
||||
}
|
||||
nick && this.model.join(nick);
|
||||
},
|
||||
|
||||
onKeyDown (ev) {
|
||||
|
Loading…
Reference in New Issue
Block a user