Parcourir la source

Expresses the desire to have the conference focus invited into the MUC ASAP.

dev1
Lyubomir Marinov il y a 9 ans
Parent
révision
6bb7eadf9a
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      modules/xmpp/moderator.js

+ 5
- 0
modules/xmpp/moderator.js Voir le fichier

@@ -267,6 +267,11 @@ Moderator.prototype.allocateConferenceFocus =  function (callback) {
267 267
         function (error) {
268 268
             self._allocateConferenceFocusError(error);
269 269
         });
270
+    // XXX We're pressed for time here because we're beginning a complex and/or
271
+    // lengthy conference-establishment process which supposedly involves
272
+    // multiple RTTs. We don't have the time to wait for Strophe to decide to
273
+    // send our IQ.
274
+    this.connection.flush();
270 275
 };
271 276
 
272 277
 /**

Chargement…
Annuler
Enregistrer