Bugfix. Could not register on Ejabberd 18
This commit is contained in:
parent
7d7b4c7e75
commit
4c76370819
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 3.3.2 (Unreleased)
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
- Could not register on Ejabberd 18. `"Missing attribute 'id' in tag qualified by namespace 'jabber:client'"`
|
||||||
|
|
||||||
## 3.3.1 (2018-01-18)
|
## 3.3.1 (2018-01-18)
|
||||||
|
|
||||||
### UI/UX changes
|
### UI/UX changes
|
||||||
|
@ -603,7 +603,8 @@
|
|||||||
if (has_empty_inputs) { return; }
|
if (has_empty_inputs) { return; }
|
||||||
|
|
||||||
const inputs = sizzle(':input:not([type=button]):not([type=submit])', form),
|
const inputs = sizzle(':input:not([type=button]):not([type=submit])', form),
|
||||||
iq = $iq({type: "set"}).c("query", {xmlns:Strophe.NS.REGISTER});
|
iq = $iq({'type': 'set', 'id': _converse.connection.getUniqueId()})
|
||||||
|
.c("query", {xmlns:Strophe.NS.REGISTER});
|
||||||
|
|
||||||
if (this.form_type === 'xform') {
|
if (this.form_type === 'xform') {
|
||||||
iq.c("x", {xmlns: Strophe.NS.XFORM, type: 'submit'});
|
iq.c("x", {xmlns: Strophe.NS.XFORM, type: 'submit'});
|
||||||
|
Loading…
Reference in New Issue
Block a user