Procházet zdrojové kódy

feat(xmpp) remove clientNode config option

dev1
Saúl Ibarra Corretgé před 3 roky
rodič
revize
6d19f623f3
2 změnil soubory, kde provedl 3 přidání a 6 odebrání
  1. 2
    5
      doc/example/example.js
  2. 1
    1
      modules/xmpp/xmpp.js

+ 2
- 5
doc/example/example.js Zobrazit soubor

@@ -3,12 +3,9 @@
3 3
 const options = {
4 4
     hosts: {
5 5
         domain: 'jitsi-meet.example.com',
6
-        muc: 'conference.jitsi-meet.example.com' // FIXME: use XEP-0030
6
+        muc: 'conference.jitsi-meet.example.com'
7 7
     },
8
-    bosh: '//jitsi-meet.example.com/http-bind', // FIXME: use xep-0156 for that
9
-
10
-    // The name of client node advertised in XEP-0115 'c' stanza
11
-    clientNode: 'http://jitsi.org/jitsimeet'
8
+    bosh: '//jitsi-meet.example.com/http-bind'
12 9
 };
13 10
 
14 11
 const confOptions = {

+ 1
- 1
modules/xmpp/xmpp.js Zobrazit soubor

@@ -175,7 +175,7 @@ export default class XMPP extends Listenable {
175 175
 
176 176
         this._initStrophePlugins();
177 177
 
178
-        this.caps = new Caps(this.connection, this.options.clientNode);
178
+        this.caps = new Caps(this.connection, /* clientNode */ 'https://jitsi.org/jitsi-meet');
179 179
 
180 180
         // Initialize features advertised in disco-info
181 181
         this.initFeaturesList();

Načítá se…
Zrušit
Uložit