Don't mix up configs

This commit is contained in:
Maxime Dor
2017-09-29 05:34:21 +02:00
parent 4f3ecc19f3
commit ed2d13decf
8 changed files with 256 additions and 234 deletions

View File

@@ -52,9 +52,9 @@ public class SqlThreePidProvider implements IThreePidProvider {
private SqlConnectionPool pool;
@Autowired
public SqlThreePidProvider(SqlProviderConfig cfg, MatrixConfig mxCfg, SqlConnectionPool pool) {
public SqlThreePidProvider(SqlProviderConfig cfg, MatrixConfig mxCfg) {
this.cfg = cfg;
this.pool = pool;
this.pool = new SqlConnectionPool(cfg);
this.mxCfg = mxCfg;
}