1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-17 17:14:52 +02:00

Update gettingstarted.md

This commit is contained in:
Benjamin JALON 2019-08-04 14:35:04 +02:00 committed by GitHub
parent 3e74d11b45
commit f7a699af8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()
.setPort(8222) .setPort(8222)
.build(); .build();
AbstractXMPPConnection conn2 = **new** XMPPTCPConnection(config); AbstractXMPPConnection conn2 = new XMPPTCPConnection(config);
conn2.connect().login(); conn2.connect().login();
``` ```