Forráskód Böngészése

Bugfix. See below.

Manual login doesn't work when websocket_url is set and not bosh_service_url

It's already a while since we don't include an input for the bosh_service_url in the login panel.
JC Brand 10 éve
szülő
commit
c0bec459a0
2 módosított fájl, 3 hozzáadás és 10 törlés
  1. 0 8
      converse.js
  2. 3 2
      docs/CHANGES.rst

+ 0 - 8
converse.js

@@ -5359,14 +5359,6 @@
                     $bsu_input = null,
                     errors = false;
 
-                if (! converse.bosh_service_url) {
-                    $bsu_input = $form.find('input#bosh_service_url');
-                    converse.bosh_service_url = $bsu_input.val();
-                    if (! converse.bosh_service_url)  {
-                        errors = true;
-                        $bsu_input.addClass('error');
-                    }
-                }
                 if (! jid) {
                     errors = true;
                     $jid_input.addClass('error');

+ 3 - 2
docs/CHANGES.rst

@@ -1,18 +1,19 @@
 Changelog
 =========
 
-0.9.4 (2015-05-01)
+0.9.4 (Unreleased)
 ------------------
 
 * Refactored in order to remove the strophe.roster.js dependency. [jcbrand]
+* Bugfix. Manual login doesn't work when only websocket_url is set and not bosh_service_url. [jcbrand]
 
 0.9.3 (2015-05-01)
 ------------------
 
-* Add the ability to log in anonymously. [jcbrand]
 * Add the ability to log in automatically. [jcbrand]
 * Remove ``type=email`` from JID field in login form. Resulting validation error confuses people. [jcbrand]
 * Add Ukranian translations [Andriy Kopystyansky]
+* #244 Add the ability to log in anonymously. [jcbrand]
 * #344 Enable the path to the sound files to be configured [thierrytiti and jcbrand]
 * #370 Unable to register a new user to ejabberd 2.1.11. [gbonvehi]
 * #372 Some offline users have a visible empty <dd> in the roster. [floriancargoet]