Selaa lähdekoodia

rid, jid and sid weren't being set. fixes #285

JC Brand 10 vuotta sitten
vanhempi
commit
f893e94312
2 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 3 0
      converse.js
  2. 1 0
      docs/CHANGES.rst

+ 3 - 0
converse.js

@@ -239,16 +239,19 @@
             hide_muc_server: false,
             hide_offline_users: false,
             i18n: locales.en,
+            jid: undefined,
             keepalive: false,
             message_carbons: false,
             no_trimming: false, // Set to true for phantomjs tests (where browser apparently has no width)
             play_sounds: false,
             prebind: false,
             providers_link: 'https://xmpp.net/directory.php', // Link to XMPP providers shown on registration page
+            rid: undefined,
             roster_groups: false,
             show_controlbox_by_default: false,
             show_only_online_users: false,
             show_toolbar: true,
+            sid: undefined,
             storage: 'session',
             use_otr_by_default: false,
             use_vcards: true,

+ 1 - 0
docs/CHANGES.rst

@@ -6,6 +6,7 @@ Changelog
 
 * Bugfix. Login panel didn't appear under certain conditions. [jcbrand]
 * Text on the registration form was not configurable or i18n aware. [jcbrand]
+* #285 With prebind the jid, rid and sid settings were ignored. [jcbrand]
 
 0.8.5 (2014-12-01)
 ------------------