Browse Source

Uses sendIQ method to send iq packets, this way the id attribute will be added.

master
Damian Minkov 11 years ago
parent
commit
bb5d178220
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      muc.js

+ 1
- 1
muc.js View File

@@ -111,7 +111,7 @@ Strophe.addConnectionPlugin('emuc', {
111 111
             var create = $iq({type: 'set', to: this.roomjid})
112 112
                     .c('query', {xmlns: 'http://jabber.org/protocol/muc#owner'})
113 113
                     .c('x', {xmlns: 'jabber:x:data', type: 'submit'});
114
-            this.connection.send(create); // fire away
114
+            this.connection.sendIQ(create); // fire away
115 115
         }
116 116
 
117 117
         // Parse roles.

Loading…
Cancel
Save