Przeglądaj źródła

fix(XmppConnection): sendIQ2 pass the 'timeout'

dev1
paweldomas 5 lat temu
rodzic
commit
a14a846fb4
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2
    1
      modules/xmpp/XmppConnection.js

+ 2
- 1
modules/xmpp/XmppConnection.js Wyświetl plik

@@ -434,7 +434,8 @@ export default class XmppConnection extends Listenable {
434 434
                 this.sendIQ(
435 435
                     iq,
436 436
                     result => resolve(result),
437
-                    error => reject(error));
437
+                    error => reject(error),
438
+                    timeout);
438 439
             } else {
439 440
                 const deferred = {
440 441
                     iq,

Ładowanie…
Anuluj
Zapisz