Commit 33cc2c3c authored by JC Brand's avatar JC Brand

Remove #BBB code for the deprecated `prebind` option

replaced with the `authentication` option
parent fe6cb93a
...@@ -20,8 +20,7 @@ ...@@ -20,8 +20,7 @@
"backbone.overview", "backbone.overview",
], factory); ], factory);
}(this, function (sizzle, $, _, polyfill, locales, utils, moment, Strophe, pluggable) { }(this, function (sizzle, $, _, polyfill, locales, utils, moment, Strophe, pluggable) {
/* /* Cannot use this due to Safari bug.
* Cannot use this due to Safari bug.
* See https://github.com/jcbrand/converse.js/issues/196 * See https://github.com/jcbrand/converse.js/issues/196
*/ */
// "use strict"; // "use strict";
...@@ -262,9 +261,6 @@ ...@@ -262,9 +261,6 @@
// Allow only whitelisted configuration attributes to be overwritten // Allow only whitelisted configuration attributes to be overwritten
_.assignIn(this, _.pick(settings, _.keys(this.default_settings))); _.assignIn(this, _.pick(settings, _.keys(this.default_settings)));
// BBB
if (this.prebind === true) { this.authentication = _converse.PREBIND; }
if (this.authentication === _converse.ANONYMOUS) { if (this.authentication === _converse.ANONYMOUS) {
if (this.auto_login && !this.jid) { if (this.auto_login && !this.jid) {
throw new Error("Config Error: you need to provide the server's " + throw new Error("Config Error: you need to provide the server's " +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment