start outgoing connection

This commit is contained in:
Zlatin Balevsky
2019-11-12 00:11:26 +00:00
parent 146ed53e12
commit 6bc61c920d

View File

@@ -89,6 +89,7 @@ class ChatClient implements Closeable {
throw new Exception("Unknown chat version $version")
connection = new ChatConnection(eventBus, endpoint, host, false, trustService, settings)
connection.start()
eventBus.publish(new ChatConnectionEvent(status : ChatConnectionAttemptStatus.SUCCESSFUL, persona : host,
connection : connection))
} catch (Exception e) {