Ver código fonte

ref(LargeVideoManager): remove unused method

'_isConnectionActive' is not used anymore
master
paweldomas 8 anos atrás
pai
commit
e38dd0e9d3
1 arquivos alterados com 0 adições e 16 exclusões
  1. 0
    16
      modules/UI/videolayout/LargeVideoManager.js

+ 0
- 16
modules/UI/videolayout/LargeVideoManager.js Ver arquivo

256
         });
256
         });
257
     }
257
     }
258
 
258
 
259
-    /**
260
-     * Checks whether a participant's peer connection status is active.
261
-     * There is no JitsiParticipant for local id we skip checking local
262
-     * participant and report it as having no connectivity issues.
263
-     *
264
-     * @param {string} id the id of participant(MUC nickname)
265
-     * @returns {boolean} <tt>true</tt> when participant connection status is
266
-     * {@link ParticipantConnectionStatus.ACTIVE} and <tt>false</tt> otherwise.
267
-     * @private
268
-     */
269
-    _isConnectionActive(id) {
270
-        return APP.conference.isLocalId(id)
271
-                || APP.conference.getParticipantConnectionStatus(this.id)
272
-                    === ParticipantConnectionStatus.ACTIVE;
273
-    }
274
-
275
     /**
259
     /**
276
      * Shows/hides notification about participant's connectivity issues to be
260
      * Shows/hides notification about participant's connectivity issues to be
277
      * shown on the large video area.
261
      * shown on the large video area.

Carregando…
Cancelar
Salvar