Browse Source

feat(xmpp) remove clientNode config option

dev1
Saúl Ibarra Corretgé 3 years ago
parent
commit
6d19f623f3
2 changed files with 3 additions and 6 deletions
  1. 2
    5
      doc/example/example.js
  2. 1
    1
      modules/xmpp/xmpp.js

+ 2
- 5
doc/example/example.js View File

3
 const options = {
3
 const options = {
4
     hosts: {
4
     hosts: {
5
         domain: 'jitsi-meet.example.com',
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
 const confOptions = {
11
 const confOptions = {

+ 1
- 1
modules/xmpp/xmpp.js View File

175
 
175
 
176
         this._initStrophePlugins();
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
         // Initialize features advertised in disco-info
180
         // Initialize features advertised in disco-info
181
         this.initFeaturesList();
181
         this.initFeaturesList();

Loading…
Cancel
Save