Trim nickname
This commit is contained in:
parent
8283ea3d1a
commit
c520a4e39b
2
dist/converse.js
vendored
2
dist/converse.js
vendored
@ -48439,7 +48439,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_5__["default"].plugins
|
||||
*/
|
||||
ev.preventDefault();
|
||||
const nick_el = ev.target.nick;
|
||||
const nick = nick_el.value;
|
||||
const nick = nick_el.value.trim();
|
||||
|
||||
if (nick) {
|
||||
this.chatroomview.join(nick);
|
||||
|
@ -1964,7 +1964,7 @@ converse.plugins.add('converse-muc-views', {
|
||||
*/
|
||||
ev.preventDefault();
|
||||
const nick_el = ev.target.nick;
|
||||
const nick = nick_el.value;
|
||||
const nick = nick_el.value.trim();
|
||||
if (nick) {
|
||||
this.chatroomview.join(nick);
|
||||
this.model.set({
|
||||
|
Loading…
Reference in New Issue
Block a user