Removed prefer IPv4 settings, refactoring

This commit is contained in:
M66B
2019-07-27 16:40:51 +02:00
parent 4a72f7ff90
commit f661a7c09b
11 changed files with 29 additions and 62 deletions

View File

@@ -367,7 +367,7 @@ public class ServiceSend extends ServiceBase {
try (Transport itransport = isession.getTransport(protocol)) {
// Connect transport
db.identity().setIdentityState(ident.id, "connecting");
itransport.connect(ident.host, ident.port, ident.user, ident.password);
ConnectionHelper.connect(this, isession, itransport, ident);
db.identity().setIdentityState(ident.id, "connected");
// Send message