Bläddra i källkod

Minor changes to doc & XEP-0215 (#695)

* Update reference to Prosody bugtracker.

* Updated refernce to Prosody module.

* Remove unused child element.

The child element in the query suggests that a specific host is being requested. Neither
the Prosody implementation nor the XEP-0215 specification defines this element. Its
inclusion is ignored by the XEP-0215 server implementation.
master
Guus der Kinderen 7 år sedan
förälder
incheckning
758763f6ab
2 ändrade filer med 3 tillägg och 5 borttagningar
  1. 1
    1
      modules/xmpp/ChatRoom.js
  2. 2
    4
      modules/xmpp/strophe.jingle.js

+ 1
- 1
modules/xmpp/ChatRoom.js Visa fil

@@ -1040,7 +1040,7 @@ export default class ChatRoom extends Listenable {
1040 1040
                         .up();
1041 1041
 
1042 1042
                     // Fixes a bug in prosody 0.9.+
1043
-                    // https://code.google.com/p/lxmppd/issues/detail?id=373
1043
+                    // https://prosody.im/issues/issue/373
1044 1044
                     formsubmit
1045 1045
                         .c('field', { 'var': 'muc#roomconfig_whois' })
1046 1046
                         .c('value')

+ 2
- 4
modules/xmpp/strophe.jingle.js Visa fil

@@ -295,8 +295,7 @@ class JingleConnectionPlugin extends ConnectionPlugin {
295 295
         // uses time-limited credentials as described in
296 296
         // http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00
297 297
         //
298
-        // See https://code.google.com/p/prosody-modules/source/browse/
299
-        // mod_turncredentials/mod_turncredentials.lua
298
+        // See https://modules.prosody.im/mod_turncredentials.html
300 299
         // for a prosody module which implements this.
301 300
         //
302 301
         // Currently, this doesn't work with updateIce and therefore credentials
@@ -307,8 +306,7 @@ class JingleConnectionPlugin extends ConnectionPlugin {
307 306
         this.connection.sendIQ(
308 307
             $iq({ type: 'get',
309 308
                 to: this.connection.domain })
310
-                .c('services', { xmlns: 'urn:xmpp:extdisco:1' })
311
-                .c('service', { host: `turn.${this.connection.domain}` }),
309
+                .c('services', { xmlns: 'urn:xmpp:extdisco:1' }),
312 310
             res => {
313 311
                 const iceservers = [];
314 312
 

Laddar…
Avbryt
Spara