2
0
Эх сурвалжийг харах

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

This was used for tests but is no longer necessary.
JC Brand 5 жил өмнө
parent
commit
9d619820f9

+ 0 - 5
src/headless/converse-core.js

@@ -1419,11 +1419,6 @@ _converse.initialize = async function (settings, callback) {
 
     // Initialization
     // --------------
-    // This is the end of the initialize method.
-    if (settings.connection) {
-        this.connection = settings.connection;
-    }
-
     await finishInitialization();
     if (_converse.isTestEnv()) {
         return _converse;