Pārlūkot izejas kodu

ref(LargeVideoManager): remove unused method

'_isConnectionActive' is not used anymore
j8
paweldomas 8 gadus atpakaļ
vecāks
revīzija
e38dd0e9d3
1 mainītis faili ar 0 papildinājumiem un 16 dzēšanām
  1. 0
    16
      modules/UI/videolayout/LargeVideoManager.js

+ 0
- 16
modules/UI/videolayout/LargeVideoManager.js Parādīt failu

@@ -256,22 +256,6 @@ export default class LargeVideoManager {
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 260
      * Shows/hides notification about participant's connectivity issues to be
277 261
      * shown on the large video area.

Notiek ielāde…
Atcelt
Saglabāt