瀏覽代碼

feat(xmpp) remove clientNode config option

dev1
Saúl Ibarra Corretgé 3 年之前
父節點
當前提交
6d19f623f3
共有 2 個檔案被更改,包括 3 行新增6 行删除
  1. 2
    5
      doc/example/example.js
  2. 1
    1
      modules/xmpp/xmpp.js

+ 2
- 5
doc/example/example.js 查看文件

@@ -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 查看文件

@@ -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();

Loading…
取消
儲存