Uses sendIQ method to send iq packets, this way the id attribute will be added.
This commit is contained in:
parent
edb89a65d5
commit
bb5d178220
2
muc.js
2
muc.js
|
@ -111,7 +111,7 @@ Strophe.addConnectionPlugin('emuc', {
|
|||
var create = $iq({type: 'set', to: this.roomjid})
|
||||
.c('query', {xmlns: 'http://jabber.org/protocol/muc#owner'})
|
||||
.c('x', {xmlns: 'jabber:x:data', type: 'submit'});
|
||||
this.connection.send(create); // fire away
|
||||
this.connection.sendIQ(create); // fire away
|
||||
}
|
||||
|
||||
// Parse roles.
|
||||
|
|
Loading…
Reference in New Issue