Browse Source

fix(moderator.js): remove dead code

release-8443
paweldomas 9 years ago
parent
commit
af8aa4bd2d
1 changed files with 0 additions and 6 deletions
  1. 0
    6
      modules/xmpp/moderator.js

+ 0
- 6
modules/xmpp/moderator.js View File

366
                 () => this.allocateConferenceFocus(callback));
366
                 () => this.allocateConferenceFocus(callback));
367
         return;
367
         return;
368
     }
368
     }
369
-    if(this.retries >= this.maxRetries) {
370
-        this.eventEmitter.emit(
371
-                XMPPEvents.ALLOCATE_FOCUS_MAX_RETRIES_ERROR);
372
-        return;
373
-    }
374
-    this.retries++;
375
     var waitMs = this.getNextErrorTimeout();
369
     var waitMs = this.getNextErrorTimeout();
376
     var errmsg = "Focus error, retry after "+ waitMs;
370
     var errmsg = "Focus error, retry after "+ waitMs;
377
     GlobalOnErrorHandler.callErrorHandler(new Error(errmsg));
371
     GlobalOnErrorHandler.callErrorHandler(new Error(errmsg));

Loading…
Cancel
Save