Commit 9d619820 authored by JC Brand's avatar JC Brand

core: Don't allow the connection to be passed in.

This was used for tests but is no longer necessary.
parent be03b30d
...@@ -1419,11 +1419,6 @@ _converse.initialize = async function (settings, callback) { ...@@ -1419,11 +1419,6 @@ _converse.initialize = async function (settings, callback) {
// Initialization // Initialization
// -------------- // --------------
// This is the end of the initialize method.
if (settings.connection) {
this.connection = settings.connection;
}
await finishInitialization(); await finishInitialization();
if (_converse.isTestEnv()) { if (_converse.isTestEnv()) {
return _converse; return _converse;
......
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