Pārlūkot izejas kodu

Merge pull request #765 from jitsi/add_get_connection

feat(JitsiConference): add 'getConnection' getter
dev1
Saúl Ibarra Corretgé 7 gadus atpakaļ
vecāks
revīzija
705d85ef47
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7
    0
      JitsiConference.js

+ 7
- 0
JitsiConference.js Parādīt failu

@@ -441,6 +441,13 @@ JitsiConference.prototype.getName = function() {
441 441
     return this.options.name;
442 442
 };
443 443
 
444
+/**
445
+ * Returns the {@link JitsiConnection} used by this this conference.
446
+ */
447
+JitsiConference.prototype.getConnection = function() {
448
+    return this.connection;
449
+};
450
+
444 451
 /**
445 452
  * Check if authentication is enabled for this conference.
446 453
  */

Notiek ielāde…
Atcelt
Saglabāt